Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Ads by datafeedr.com

Add and display ads randomly on your blog. Sort ads randomly, limit the number of ads that appear, display ads in posts, widgets or template files.

The Ads plugin allows you to add advertisements to your blog. You can add advertisements to your posts, pages or Text Widgets via the shortcode. You can also add ads to your site by adding a function to your theme's template files.

You have full control over how many ads get displayed as well as their sort order.

Check out more video tutorials!

Simple Usage (Shortcode)

[dfads params='']

Simple Usage (PHP)

<?php echo dfads(); ?>

Advanced Usage (Shortcode)

[dfads params='groups=3&limit=2']

Advanced Usage (PHP)

<?php echo dfads( 'groups=3&limit=2' ); ?>

Additional Features

  • Set impression limit - Set how many times ad should appear before being removed from display.
  • Set start date - Set the date the ad should not appear before.
  • Set end date - Set the date the ad should not appear after.
  • Shortcode - Add ads to posts, pages or Text Widget using the [dfads] shortcode.
  • PHP Function - Embed ads in your template files with dfads() function.
  • Supports caching - Impressions are counted and ads are ordered displayed randomly even if you have enabled a caching plugin. (Note: Doesn’t work if your site’s visitor has JavaScript disabled in their browser.)
  • Supports All Types of Ads - Add Google Adsense, banners, images, text, in-house ads, videos, etc... If you can add it to a Post, you can add it as an ad.
  • Ad Groups - Set up 'ad groups' to display different groups of ads in different places. (Example: sidebar, footer, leaderboard, 150x150, etc...)
  • No Impression Count for Admins - Enable or disable impression counting when viewing the site as an Administrator.

Requires: 3.5 or higher
Compatible up to: 4.7.1
Last Updated: 1 month ago
Active Installs: 8,000+


4.3 out of 5 stars


2 of 5 support threads in the last two months have been marked resolved.

Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.