Greenguy's Board


Go Back   Greenguy's Board > Blogs and Blogging
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2011-12-29, 11:07 PM   #1
Maj. Stress
Progress rarely comes in buckets, it normally comes in teaspoons
 
Maj. Stress's Avatar
 
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..
Maj. Stress is offline   Reply With Quote
Old 2011-12-30, 10:21 AM   #2
HowlingWulf
Me fail English? That's unpossible!
 
HowlingWulf's Avatar
 
Join Date: Dec 2003
Location: FL
Posts: 1,381
Send a message via ICQ to HowlingWulf
I just use a simple PHP script you can use and place those anywhere.
__________________
WordPress Porn directory theme => Maddos
Create a Porn Tube => Video Pornster
HowlingWulf is offline   Reply With Quote
Old 2011-12-30, 12:19 PM   #3
Simon
That which does not kill us, will try, try again.
 
Simon's Avatar
 
Join Date: Aug 2003
Location: Conch Republic
Posts: 5,150
Send a message via ICQ to Simon Send a message via AIM to Simon Send a message via Yahoo to Simon
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
Simon is offline   Reply With Quote
Old 2011-12-31, 09:14 AM   #4
Maj. Stress
Progress rarely comes in buckets, it normally comes in teaspoons
 
Maj. Stress's Avatar
 
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.
Maj. Stress is offline   Reply With Quote
Old 2011-12-31, 09:20 AM   #5
HowlingWulf
Me fail English? That's unpossible!
 
HowlingWulf's Avatar
 
Join Date: Dec 2003
Location: FL
Posts: 1,381
Send a message via ICQ to HowlingWulf
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.
__________________
WordPress Porn directory theme => Maddos
Create a Porn Tube => Video Pornster
HowlingWulf is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:22 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc