|
2011-12-29, 11:07 PM | #1 |
Progress rarely comes in buckets, it normally comes in teaspoons
Join Date: Jun 2005
Location: Dark Side Of Naboo
Posts: 1,289
|
Wordpress Banner Manager
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 Last edited by Maj. Stress; 2011-12-29 at 11:15 PM.. |
2011-12-30, 10:21 AM | #2 |
Me fail English? That's unpossible!
|
I just use a simple PHP script you can use and place those anywhere.
|
2011-12-30, 12:19 PM | #3 |
That which does not kill us, will try, try again.
|
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. Also, not sure what you found that works with widgets, but I use Widget Logic to handle various things in sidebars. HTH
__________________
"If you're happy and you know it, think again." -- Guru Pitka |
2011-12-31, 09:14 AM | #4 |
Progress rarely comes in buckets, it normally comes in teaspoons
Join Date: Jun 2005
Location: Dark Side Of Naboo
Posts: 1,289
|
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. |
2011-12-31, 09:20 AM | #5 |
Me fail English? That's unpossible!
|
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. |
|
|