Rotate Ads randomly – No duplicates – database
-
Hi,
I run a news style website using Elegant Themes Quadro Theme. The purpose is to provide information to the local community. We sell advertisements on our website. We want to have the ability to have multiple ads that show up in 10 (example number) slots.
For example, directory contains 100 ads, 10 slots for any of the 100 ads, complete randomization, no duplicates.
I have tried to hack widgets to no avail. I use the Quadro theme. Which has ad spaces built in and would prefer to use that function.
I hacked more ad spaces using the following files:
- “functions.php” in “wp-content/themes/Quadro” directory
- “ads.php” in “wp-content/themes/Quadro/includes” directory
All I need is some assistance with either a MySQL call to the array of files possibly using PHP shuffle property. Something like that.
My current test site is:
- The topic ‘Rotate Ads randomly – No duplicates – database’ is closed to new replies.