Nerd tech, entertainment, and web development blog

WP Plugin: Random Ads

This plugin is pretty simple. If you are selling several ads and want each to have the same amount of visibility while still displaying all the ads (like the top right images in my sidebar), this is what you want.

Just download the plugin, go to Option/Random Ads within your wp-admin and enter your ad code (be sure to separate each with <!–– End Ad ––>)

Download:
random-ads.zip

Previous versions:
0.1

Installation

  1. Download the latest version (link is above).
  2. Unzip the file into your plugins folder (wp-content/plugins). Be sure to leave all files within the random-ads folder.
  3. Go to your wp-admin Plugins and activate it.
  4. Head over to Options/Random Ads in wp-admin. Add the ad code you wish to display separated by <!–– End Ad ––>.
  5. Press “Update Code” when you are finished.
  6. optional: Link to impNERD.com to show your support.

Changes

0.2
3/1/08 Added unset to array to disable additional <!–– End Ad ––>.

Ask any further questions or comments within the comments.

Written: Feb 6, 2008


Related posts »

14 Responses to "WP Plugin: Random Ads"

  • Juha Ylitalo
    February 7, 2008 @ 1:33 am


    I guess one use scenario for this could be that you could simply use it to rearrange your ads. That might cause readers to pay more attention to ads, since the ad space might look little bit different each time, when they visit your site.
    At this point, I don’t have anything advertisements to really benefit from this, but its nice thing to know that tools already exist, if it ever comes a problem.

    • Gary R. Hess
      February 7, 2008 @ 1:50 am


      Definitely a good point. Honestly since I made this plugin and started using it on my own site click-throughs on the ads have gone up, most likely due to stopping ‘banner blindness’ as you stated.

  • willy
    April 4, 2008 @ 2:05 am


    i will try it on my blog, i find here from google.

  • Paula
    June 22, 2008 @ 4:19 am


    Hi, Does your plugin avoid repetitions? All the plugins I’ve tried, do not check if the ad is already showing and I get duplicated ads. I would like to be able to
    show 10 different ads on my sidebar (randomly selected and ordered from my total 20 ads).

    Thanks!

    Best regards,
    Paula

    • Gary R. Hess
      June 22, 2008 @ 12:32 pm


      Currently if you put in 20 ads, it will show 20 ads. The only thing the plugin does is show them in a random order. I will keep in mind though your suggestion and in the future it will be added.

  • Paula
    June 22, 2008 @ 3:22 pm


    Thanks Gary!

  • revenue
    July 5, 2008 @ 2:14 pm


    Thanks for this plugins :)

  • Monetization Hub
    September 1, 2008 @ 10:26 am


    Here is an article to do the same task, but using PHP rather than a wordpress plugin

    [no links]

    • Gary R. Hess
      September 1, 2008 @ 11:01 am


      Which defeats the purpose. All your little code does is randomly select text to display.

      Also, please do not spam my comments with links to your website. If you want to add a link to the discussion please put it within your name.

  • Yan Shall Blog
    September 1, 2008 @ 12:46 pm


    Hi there

    I’d like to know if I’m displaying one ad box only or there is an option for me to show two ads boxes…

    Yan

    • Gary R. Hess
      September 1, 2008 @ 1:12 pm


      The random ads feature does not replace an ad, but simply randomizes its placement.

  • Puneet
    October 9, 2008 @ 12:33 am


    will try this out for my wordpress .. lets c how i get it or not properly

  • Yan Shall Blog
    September 1, 2008 @ 1:50 pm


    Thanks for the info. I wasn’t expecting that but I guess I need to install it to see how it really works. It should work with 2.6, shouldn’t it?

    Yan

  • Gary R. Hess
    September 1, 2008 @ 6:56 pm


    It should work on anything from 2.0-2.6