WordPress.org

Ready to get started?Download WordPress

Forums

Widget Logic
widgets still showing on all pages after inserting is_home() (5 posts)

  1. Kirbyworks
    Member
    Posted 2 years ago #

    Search, Archives, and Meta are still showing on all pages after inserting is_home() in Widget Logic box. What now?

    I am also getting duplicate widgets on my primary widget area though I only have them installed in my secondary widget area. This probably isn't a Widget Logic issue but if you have any ideas please do tell.

    http://wordpress.org/extend/plugins/widget-logic/

  2. alanft
    Member
    Plugin Author

    Posted 2 years ago #

    sounds like your theme might be doing some bespoke database queries. what happens if you switch to a default theme?

  3. Kirbyworks
    Member
    Posted 2 years ago #

    I don't know - what I have is twentyten w/ responsive plugin but highly customized at my end with the CSS. I did however find this in the sidebar.php file:

    /* When we call the dynamic_sidebar() function, it'll spit out the widgets for that widget area. If it instead returns false, then the sidebar simply doesn't exist, so we'll hard-code in some default sidebar stuff just in case. */

    so I"m guessing I can just delete it, even if I'm not using the primary widget area at all?

  4. alanft
    Member
    Plugin Author

    Posted 2 years ago #

    ah yes - the default sidebar stuff in themes. This is alluded to in the FAQ under "What's this stuff in my sidebar when there are no widgets?"

    I could make that clearer, if you have any suggestions on how I should word it, let me know.

  5. Kirbyworks
    Member
    Posted 2 years ago #

    Yeah, I read it after posting the question.

    BTW - How does one turn off the default posting features on the blog page that are not widgets? IOW - Which file generates such?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic