WordPress.org

Support

Support » Plugins and Hacks » Conditional Widgets » [Plugin: Conditional Widgets] Can't hide Pages widget on Main Blog Page

[Plugin: Conditional Widgets] Can't hide Pages widget on Main Blog Page

  • I’m using my WP site mainly as a cms with all pages except for 1 page which I’ve made the “blog” page by going into Settings–>Reading and assigning my home page as static and my “Posts Page” to a different page on the site instead of the home page.

    I’ve put my Pages widget into the sidebar and using that as my main menu. However I’m trying to exclude the “Posts Page” from having the Pages widget/menu in the sidebar on that page. It doesn’t work. I’ve tried including all pages but that one as well as excluding just that one.

    There seems to be a bug/issue with the main blog page and excluding it from a widget.
    Please note: I don’t mean excluding the link of that page in the menu either – that works ok. I also have no problem excluding the pages widget from showing up on blog posts and categories, just that main “Posts Page“.

    http://wordpress.org/extend/plugins/conditional-widgets/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Well it looks like this is a general issue for a few plugins. Guess it has to do with the blog not being set up on the home page. It’s like the Posts Page is not being recognized as a page.

    I was able to work around it by creating a sidebar custom menu for pages instead of using the pages widget. Then I just used the following css code to hide the menu on the Posts Page:
    .blog .menu-sidebar-menu-container {display: none; }
    Not as elegant as checking a box and turning it off for that page but it worked and I’m done spending hours figuring this puppy out. If there is a fix for this or I missed something, be nice and post it for the next person with this issue.

    Thanks for the feedback – I’ll take a look at this when I get a chance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Conditional Widgets] Can't hide Pages widget on Main Blog Page’ is closed to new replies.
Skip to toolbar