I've been looking for a plugin that can display 6 125px ad blocks simutaniously but at random order? is there any such plugin? I've tried WPAds plugin but it only shows 1 at a time. anyone know of any such plugin?
Using the adrotator plugin, you could create 6 different ad text files, each containing the code for the 6 ads you wanted to rotate, and display them on the same page and use css or a table to arrange them neatly.
thanks magicinthedesert, I actually thought of that but wasn't sure how it would work exactly, I'll give that a shot now. @seohyderabad thanks for the tip, tried it out and it seems pretty good but it's not really free so i won't be using it. Edited: I just got accepted at openx.org for the beta hosted service and I know that can do it so I'll try that out.
Let me know how that goes. Here's some direction. 1. Create 6 .txt files, each containing the code to your banner ads 2. Upload those .txt files into the wp-content folder 3. Place those ads using this code: < ?php echo getad('bannerad') ?> Code (markup): where bannerad is the name of your .txt file. You'll have 6 different sets of this code, each with a different .txt file name. 4. Place divs around the groups you want for easy styling using CSS, or create a table layout If you need additional help, let me know.
Thanks for the tips, unfortunately there is one problem.. ad rotator pulls the ads randomly so using this method i would end up with the possibility of duplicated ads loading at the same time.. I've left a message on his blog asking if there is a simple way to modify the php so it doesn't load them randomly so I'll see how it goes. Thanks again.
I don't know if you've fixed your problem yet or not, but here is a modified adrotator.php that will read in all of the ads from your text file, and spit them all out in a random order. hope this helps. <?php function getad($ad = '') { $ad = trim($ad); if(strlen($ad) > 0) { $ad = ABSPATH . "wp-content/" . $ad . '.txt'; if(file_exists($ad)) { $ads = file($ad); shuffle($ads); $output = ""; foreach($ads as $entry) { $output = $output . $entry; } return $output; } } } ?> Code (markup):