Ad Buttons Plugin
Monetizing a blog is often done with ad buttons sized 125 x 125 pixels. The ads displayed can be affiliate links or you can sell ad spots directly to advertisers. I’ve tried adding the image ads to my WordPress template files, but whenever you want to add a new ad or take one off, you’ll have to get into the template files again and change them.
After looking for a WordPress plugin to manage my ads and trying a few, I realized none of them did exactly what I wanted. Editing someone else’s code to customize the plugin to my liking can be a painstaking process, so I decided to look a little deeper into how the WordPress plugins work and write my own ad management plugin.
My plugin is far from finished, but I decided to release a first beta version into public. The version available for download here is still a bit limited in functionality, but it can do the most basic things needed. I’m currently trying out some new functions and have a list of things to add.
The current version contains the following functionality:
Add new ad buttons
By entering image URL, link URL and link text a new ad button will be created
Enable/disable individual ad buttons
Each ad button can be enabled or disabled from the admin panel
Select how many ad buttons to display in the sidebar widget
Displaying the ad buttons on your blog is done by randomly selecting ads from your total list of active ads. You can select how many ads are displayed on your blog.
See how many times each ad button has been displayed and clicked
Ad performance is an important measurement, especially when your ads link to affiliate programs. The number of views, clicks and CTR (click thru rate) are displayed for each ad button. Views by search engine bots are automatically filtered from the count.
A Google AdSense 125 x 125 ad unit can be displayed by filling in your AdSense publisher ID. AdSense ad colors can be controlled right from the Ad Buttons admin panel.
Ads can be scheduled by specifying a start and end date
You can choose to show certain ads only to visitors from certain countries
Ad Buttons Ad Network
Show your ad button on other people’s blogs
The current release is version 2.1.7 and can be downloaded here: (last update 01-01-1970)
If you want to be informed when new versions are released, please sign up for my newsletter by filling in your name and email address in the form on the right.
Like this plugin? Please consider making a small donation.
updated ip2nation database
fixed a bug that messed up affiliate urls with an extra http or https in the url parameters
extended the stats graphing to be able to switch to other months
incorporated adbuttons.net ad network.
select a custom url for the ‘your ad here’ button
added geo targeting capabilities
statistics graphic output bug fixed
changed the plugindir retrieval to fix errors when installation directory differs from blog directory
fixed some bugs in the statistics graphic output
added support for https links
Stats have been improved
graphical view and click statistics have been added
detailed view and click tracking will be stored in a separate table. Viewing the statistics will be incorporated into a future release. The views and clicks as seen on the admin page can be altered, this does not affect detailed stats and should be seen as a trip meter.
Added a little note to the widget, so people can find the Ad Buttons settings menu
css styling can now be disabled on the settings page since it can break the layout on some wordpress themes
Database has been changed to accomodate very long URL’s like the affiliate links from amazon.com et al.
a ‘your ad here’ button has been added that can be linked to an existing page on your wordpress site
custom widget title was deleted when any other option on the settings page was changed: fixed.
small ‘powered by Ad Buttons’ link, can be disabled if needed.
optional nofollow tag selectable on the settings page
ad scheduling by specifying a start and end date has been added
edit function has been added to change individual ad buttons
fixed error message on the permalinks screen caused by the Ad Buttons plugin
incorporated color picker by dhtmlgoodies.com to control Google AdSense ad colors
ad layout properties can now be controlled from within the admin menu with a handy preview
google AdSense ads have been incorporated
fixed permission problem in the activation/deactivation of ads and added a delete option
link target attribute is now controlled by a configuration setting. ( _top, _blank or not used)
menu structure has been changed, everything related to the ad buttons plugin is now located under the Ad Buttons top-level menu.
added a shiny new wordpress style custom icon to the admin menu
division by zero bug on the stats page has been suppressed
installation bug fixed that prevented the installation procedure, which creates the database table, from running
Custom widget title bug fixed
Minor bugfix to prevent double count of clicks
First release available at wordpress.org plugin repository