Log in

View Full Version : Wordpress Banner Manager


Maj. Stress
2011-12-30, 12:07 AM
Does anybody know of a wordpress banner manager that supports categories?

I just need something that can place or rotate ads by category in a few key places on my template. I'm not very concerned about any ad stats. I just want them to work.

Edit to ad, I have found one that will work with widgets but I need one that I can code into my templates since I'm going to have the ads in different places.

TIA

HowlingWulf
2011-12-30, 11:21 AM
I just use a simple PHP script you can use and place those anywhere.

Simon
2011-12-30, 01:19 PM
Although I don't like how bulky the program is, I still use OpenX and it's delivery options settings when I want to specify that ads appear only on certain categories and tags pages.

Here's a thread about using OpenX for this. (http://www.greenguysboard.com/board/showthread.php?t=55628)

Also, not sure what you found that works with widgets, but I use Widget Logic (http://wordpress.org/extend/plugins/widget-logic/) to handle various things in sidebars.

HTH

Maj. Stress
2011-12-31, 10:14 AM
Thanks for the suggestions. :)

If I go with php code since I only really need this on one site for now, would this be the correct syntax. I'm not a php wizard.

<?php if(is_category("acne-skin-care-treatment")): ?>

<a href="http://sponsorlink.com" ><img src="http://link/to/image1.jpg"></a>

<?php elseif(is_category("acne-skin-care-treatment")): ?>

<a href="http://sponsorlink.com" ><img src="http://link/to/image2.jpg"></a>

<?php elseif(is_category("lip-plumper")): ?>

<a href="http://sponsorlink.com" ><img src="http://link/to/image3.jpg"></a>

<?php elseif(is_category("natural-skin-care")): ?>

<a href="http://sponsorlink.com" ><img src="http://link/to/image4.jpg"></a>

<?php elseif(is_category("stretch-mark-prevention")): ?>

<a href="http://sponsorlink.com" ><img src="http://link/to/image5.jpg"></a>

<?php elseif(is_category("sunless tanning")): ?>

<a href="http://sponsorlink.com" ><img src="http://link/to/image6.jpg"></a>

<?php else: ?>

<a href="http://sponsorlink.com" ><img src="http://link/to/image7.jpg"></a>

<?php endif; ?>


Simon, thanks for the link to widget logic. I might have some uses for that. :)

HowlingWulf
2011-12-31, 10:20 AM
oh sorry I thought this for network wide.
if it's just for a single wordpress site, you can use something like
http://marquex.es/541/custom-sidebars-plugin-v0-8
It allows you to use a different widget for each post,page, or category.