Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Blogs and Blogging (http://www.greenguysboard.com/board/forumdisplay.php?f=8)
-   -   different ads in wordpress? (http://www.greenguysboard.com/board/showthread.php?t=48072)

2mmy 2008-07-22 02:51 PM

different ads in wordpress?
 
Hey
Is there some kind of plugin to wordpress, which allows you to create different ads/sidebars/header depending on what category the surfer is in? Like if they click the teen category, they are getting teen banners etc.. like for a general blog if different niches..?

Thanks

HotwivesOnline 2008-07-22 03:54 PM

I'm not sure about a plugin that can accomplish this, but you can add some simple logic into your templates that will display different sidebars based on the kind of page (index or post) or category ID.

cd34 2008-07-22 04:20 PM

Depending on the size of your blog network, http://www.openx.org/ is the old phpadsnew which will do what you need and quite a bit more.

There are other software packages that will do ads, but, phpadsnew is pretty well known (though complex at times). Cleo wrote an article on the board a while back, but, I can't find it offhand. Even though it is for an older version, the technique is still the same.

2mmy 2008-07-24 02:49 PM

Quote:

Originally Posted by HotwivesOnline (Post 410937)
I'm not sure about a plugin that can accomplish this, but you can add some simple logic into your templates that will display different sidebars based on the kind of page (index or post) or category ID.

can you give me a simple explanation of how that is done? :)

Trev 2008-07-25 12:53 AM

You may find something on this page. I used it for category pages about a year and a half ago.
http://codex.wordpress.org/Category_Templates (top of page " What Template File is Used?")


All times are GMT -4. The time now is 12:25 PM.

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