Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   Avoid sidebar in selected posts? (http://forum.bytesforall.com/showthread.php?t=4054)

kjetil Oct 25, 2009 07:30 AM

Avoid sidebar in selected posts?
 
Is there some way of excluding a sidebar in selected posts?
My goal is to exclude the inner right sidebar not only from a category's front page (like here) but also from all that category's posts (basically all the posts containing maps - like here).
Any way to do that through the settings - or must I use some plugin (like Widget logic)?

PS Just to make it slightly more tricky, the "Kart" (maps) category posts are all also connected to some other category (like the category Lombardia - as with the second linked example above).
Thanks,

paulae Oct 25, 2009 08:07 AM

In the theme options, configure sidebars area, you can show or not show sidebars by category or by page. To control it on individual posts in a category would require some custom code, probably.

kjetil Oct 27, 2009 01:12 PM

Thanks - I thought so.
I still believe code placed in each widget using Widget Logic will do the trick, though.
I'll be back - when I've found the php code to use

alfonsamayor Oct 28, 2009 05:22 AM

HI,

IN SOME MESSAGES ARE INCLUDED THE SIDE BAR, AND EASY TO REMOVE IT AND THERE,I'm looking to edit the sidebar.php file so that if a user is viewing a post that is in category "Cats" then the sidebar would display all the other post titles in the "Cats" category above the exiting dynamic sidebar.
its easy to remove.

Thank u..

kjetil Oct 28, 2009 03:51 PM

I'm not sure if I understand you correctly, but the Category post widget plugin might be what you're looking for.


All times are GMT -6. The time now is 05:05 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.