Hi all, I added a new wordpress plugin called "AdRotate". I don't want to just rotate a group of ads, I want specific ones to randomly appear or even appear in a sequence. Can you please tell me how to randomly have either of these appear on my site?: <?php echo adrotate_ad(1); ?> or <?php echo adrotate_ad(2); ?> Thanks, Le007
just add randomize function like <?php echo adrotate_ad(rand(1,2)); ?> more here http://php.net/manual/en/function.rand.php or I can code custom script for u if you wish?
Thanks for the reply. Can I do <?php echo adrotate_ad(rand(1,2,3,4,5)); ?> too? I guess for a custom script, I'd like them to appear on an equal basis. 10 times for one, 10 for another etc
I made this a few years (7!) ago, it'll do what you want I think http://www.papaface.com/blog/2008/01/02/a-simple-banner-rotator-script/