This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Ads For Old Posts


Ads For Old Posts inserts ads into posts older than a certain amount of days.

On the options page you’ll be able to set the location and design for your ad block. You can force ads to display at the start or end of a post, or you can now use the [afop] shortcode to manually insert the adblock in the middle of a page or post.

Note: In version 2.0 we rewrote how the data is stored in the database. If after you upgrade your ads aren’t showing, deactivate the plugin and reactivate it.


  • This is a screen shot of the option screen.


Upload the Ads For Old Posts plugin to your blog, Activate it, then edit the options from the settings screen.


September 3, 2016
This plugin works well even with WordPress 4.4.1 and I am really glad I found it through google. It's a pity that it won't show up in the WordPress repository because it hasn't been maintained for more than two years. How about a little pro forma update so that it will be available through the repository? Anyway thanks for this very useful plugin. It helps a lot. Great idea!
Read all 1 review

Contributors & Developers

“Ads For Old Posts” is open source software. The following people have contributed to this plugin.


Translate “Ads For Old Posts” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Fixed issue with margin option not being added on front end


  • Added color pickers to settings page


  • Fixed php warnings


  • Cleaned up deprecated functions
  • Added shortcode functionality


  • Added options to allow for using a div rather than a span
  • Added options to set width in pixels/percentages
  • Added options to align text left/right/center (handy for centering Google ads by using a 100% width div)


  • Updated options page calls to remove deprecated function calls
  • Added extra security to get_options functions


  • Initial release