Widget Logic lets you control on which pages widgets appear using WP's conditional tags. It also adds a 'widget_content' filter.
Great Plugin!!! Thanks ...
I use this recommended code to allow a widget from appearing on all pages except the listed page which in the example is the About Us page:
!is_page('about') -- everywhere EXCEPT this specific WP 'page'
Just wish I could figure out how to exclude it on two pages rather than one so I have submitted a request to support.
Please keep up with this plugin - It saved my site. Then I find out that it can add or delete fom a series of pages, more awesome. This is the first plugin that has allowed me to bypass the gantry framework over-rides that make the other plugins not work. Thank you for this plugin, and as soon as I sell my next site I will donate for sure.
This widget should be called "Life Saver Widget", but widget logic will do. It's One of the best widgets for WordPress there is. I will be using it in all my projects -- no doubt about it!
I just can't say enough good things about it. My workload is reduced greatly by being able to just slip a little code into the widget logic area of the widget and that's that! What a wonderful plugin!
Very developer friendly, may not be that simple at first if you don't have a lot of coding knowledge but is somewhat easy to figure out and can be very powerful once you do.
My widgets, when I want them.
Who can ask for more?
Great plugin, just the one I was looking for!
I don't know anything about PHP but the documentation and links helped a lot! I'm now about to easily cut and paste a little code so only certain widgets will show on my pages but with this will show on my Blog and Posts etc...
is_page('Blog') || is_single() || is_category( $category ) || is_tag() || is_search() || is_404() || is_paged() || is_archive()
I've used Dynamic Widgets, Display Widgets and now I'm happy with Widget Logic. It's the only plugin that feels more baked in. Works more behind the scenes. With Display Widgets I had to check too many boxes every time I added a page.
Does just what it says it does.
You need to know a smidgen of php templating code to set up the conditions but there are useful examples under Other Notes for those that don't.
This plugin makes it so easy to have widgets where you want them and not where you don't want them, so that each type of page gets the widgets that are compatible with it. Thanks so much!
You must log in to submit a review. You can also log in or register using the form near the top of this page.