How To Rotate Banner Ads In WordPress

datafeedrMany Bloggers use many advertising options like Google Adsense, TTZ Media, Chitika, Kontera, Tribal Fusion, but many use them in place but rotating them can reduce Ad Blindness and improve your CTR.In this post I’ll show how you rotate ads in your blog easily.

DataFeedr Random Ads plugin is a free wordpress plugin that lets you rotate Ads on your wordpress blog anywhere easily either in the body or sidebar.


  1. Download DataFeedr Random Ads plugin
  2. Upload the /wp-content/ads/ directory to your /wp-content/ directory
  3. Upload the /wp-content/plugins/datafeedr-ads.php file to your /wp-content/plugins/ directory.
  4. Create a “ads.txt” file with each ad code separated by pipe “|” symbol.For Ex.

<script type=”text/javascript”><!–
google_ad_client = “pub-xxxxxxxxxxxxxxx”;
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = “468x60_as”;
google_ad_type = “text”;
google_color_border = “FFFFFF”;
google_color_bg = “FFFFFF”;
google_color_link = “FF0000”;
google_color_text = “000000”;
google_color_url = “000000”;
<script type=”text/javascript” src=””></script>

<!—Ad Code 2 —>

<!—Ad Code 3 –>

5.    Insert this code where you want the rotating ads to appear

<?php if (function_exists(‘dfrad’)) { echo dfrad(‘ads’); } ?>

Check out this Demo Video to see how this works.

Liked It ?? Share It 🙂Share on FacebookShare on StumbleUponTweet about this on TwitterShare on Google+Digg thisBuffer this page
Similar Post  How To Delete Old Restore Points and Save Space

Leave a Reply

Your email address will not be published. Required fields are marked *