Archived

This topic is now archived and is closed to further replies.

  • 0

Default widgets show up when using widget-logic to hide widgets

Question

Posted · Report post

In the primary sidebar I have recents posts and recent comments. I want to disable them on one page, so I use the widget-logic plugin and !is_page('pagename').

This works, but then suddenly default widgets appear, like the calender, archives, categories and meta...

 

Share this post


Link to post
Share on other sites

4 answers to this question

Posted · Report post

I solved it for now by adding another sidebar and disabling that for that page.

But I don't believe it has something to do with the widget logic plugin. I use that plugin all the time, even for just one widget to be shown or hidden, and this has never happened before.

Share this post


Link to post
Share on other sites

Posted · Report post

It could be a plugin conflict with something else that applies a widget.  It's very hard to tell. Check to see if all your plugins are up to date with WordPress.

 

I'm happy you were able to find a solution though.

Share this post


Link to post
Share on other sites

Posted · Report post

Its worth noting, if no widgets are configured to display in the widget area, then WP will show the defaults, thats probably whats happening.

Share this post


Link to post
Share on other sites