WordPress Ad Rotator
November 26, 2006 on 5:14 am | In Blog & WordPress |WordPress Ad Rotator
Ads in WordPress headers, footers, and sidebars are repeated over and over as visitors move around a blog. It is preferable to have the ad(s) change every time the template is loaded. Changing ad layouts reduce ad blindness while changing ad providers gives visitors more choices. However, rotating ad scripts in WordPress is not so easy.
Google allows you rotate up to (4) different palettes for the same Adsense ad. OK - better than nothing. But, what if you want to rotate different Adsense ad formats (text/image/size) or mix in other ads such as Amazon ads?
The Adrotator Plugin supposedly addresses this need. This plugin, however, requires each ad to be placed in a text file in a single line. If the ad code is multi-lined, they recommend: either converting the ad code to single line manually or just take the most relevant portion of the code at the end and insert it in the file. The remaining code (which normally will be used to setup some parameters) will remain above the location (in your template file) where you would insert the function to select an ad from this ad group. Yikes! They lost me there. Is there another way to do it?
I have had very good results using a simple PHP script such as:
Continue on rl-digital.com…
Email This Post
No Comments yet »
RSS feed for comments on this post. TrackBack URI
Leave a comment
Some Rights Reserved. © 2006 VeeSite.Com
Powered by WordPress with Pool theme design by Borja Fernandez.
Personal Injury Information | Amazon Store


















