WhyDoWork.com Adsense is a WordPress plugin that allows you to insert Adsense ads on your blog without modifying the template. More then that, you can set it up to show different Adsense ads for articles older then X days (x is the number of days you decide).

For example, you can insert a 468×60 ad at the bottom of a new article, and once that article turns 7 days old it will have a more aggressive 336×280 ad blended with the text from the beginning of that article.

This way your regular readers will not be bothered by your ads, while visitors coming to older posts from search engines or other sources, will see a version that is monetized better.

Another feature is the ability to exclude ads wherever you like based on post id, or by using our no-adsense tag.

Download and Install V1.2:


Version 1.2 released on October 14th 2007.Subscribe to the RSS feed to be notified of updates.

Also Recommended (for Firefox Users):

We have developed a Firefox add-on that lets you see your AdSense Earnings in the status bar. It is a great companion to this plugin.


Screenshot of the ads positioned in the middle of the post and middle right:

middle-ads middle-ads-2 middle-right-ads

Full tutorial on using the plugin


Unzip the archive and copy the whydowork_adsense.php file in your wp-content/plugins/ folder. Go to your admin area and activate the plugin and you can find the admin zone for it in the Options area of your blog.


Deactivate the WhyDoWork Adsense plugin, delete it, and upload the last version. Activate back and go check the options page for the new ad positions.
Attention: the preview tool in the options area uses the ad you inserted with your real code. DO NOT click on those ads.

Last words

Since you’re already here, how about checking out a few of the articles on this blog and maybe subscribe to the RSS feed. More plugins to come in time. I hope it will prove useful and help you make money blogging.

PS: if you like the plugin, I’d appreciate a link back and maybe telling your readers about it, if you think they might be interested.

Changes from 1.1:

  • Top Middle position added. It display the ads above the text, centered in the middle. Top displays the ads to the left.
  • it doesn’t matter anymore if the random position is selected first or second. It can be in any position now.
  • you can choose for the ads not to be displayed if you’re logged in as administrator
  • if you insert  into a post, it will not display any ads on that page (alternative to posting the ID’s in the admin panel).
    • sidebar widgets added
    • it should be XHTML 1.0 compliant (thanks to Michael Lankton)

    Version 1.1 beta released on September 7th 2007.

    Changes from 1.0:

    • added middle position, which inserts ads between paragraphs, in the middle of the article
    • added middle left and right positions, which inserts ads in the middle of the article, surrounded by text
    • added random position, which changes the place of the ad, different position for each refresh of the page. If you have a fixed position at top left for example, it will not insert in top left or top right any ads when in random. If you use random and another fixed position, please place the random ad the last in the options for that page.
    • hopefully got rid of the bug from 1.0 that didn’t display the posts for some blogs. Test to be sure.