WordPress.org

Ready to get started?Download WordPress

Forums

Widget Logic
Settings Disappearing? (5 posts)

  1. drokkon
    Member
    Posted 1 year ago #

    I have loved using Widget Logic for a few years, but lately it has been acting up on one of my sites.

    I have two widgets that I'm using it on. The first widget (a "PHP Code" widget from the "Executable PHP widget" plugin) has a "has_excerpt()" qualifier. The second widget (a simple text widget) has a "in_category( 'Featured' )" qualifier.

    Oddly enough, every time I "save" either of these widgets, the "widget logic" field disappears. Then, when I reload the page, I find that only one or the other has retained its field's content. In other words, I can only set the logic on one widget or the other, and the data keeps disappearing and the widgets just show up on everything.

    Can anyone help?

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

  2. alanft
    Member
    Plugin Author

    Posted 1 year ago #

    i'm trying to think of ways to help troubleshoot this.

    When you save you say the field entirely vanishes - not just the content blanks but the whole text input field goes?

    What happens if it's just 2 plain text widgets - same behaviour? Same regardless of what sort of widget combinations you have, or just when using the one with the "Executable PHP widget" plugin?

  3. drokkon
    Member
    Posted 1 year ago #

    Sorry, yes...the entire field and field label disappear. I'll try two text widgets.

    I'm loathe to say this part, because I don't want it to be the problem, but I'm using the Gantry plugin which alters widget behavior quite a bit.

  4. alanft
    Member
    Plugin Author

    Posted 1 year ago #

    ok, but does the behaviour go if gantry is disabled - if so, then i have a strong clue about where to look and might have a solution

  5. drokkon
    Member
    Posted 1 year ago #

    Just ran into this behavior again, so I thought I'd resurrect this thread.

    I can't really test this because disabling Gantry disables my theme, and I don't have any others set up.

    Currently I have 5 text widgets in a sidebar, and I want to use widget logic to only show 1 or 2 of them, based on the page ID ( is_page() ). However, after hitting "save" on the widget the widget logic field disappears, and after refreshing the widget dashboard page, it usually only saves the widget logic field for one of the 5 widgets.

    RocketTheme's Gantry sets up overrides, so basically multiple widget configurations, which seems like it would interfere. It can actually achieve what I'm trying to accomplish with Widget Logic, but that would mean the creation of 7 overrides, one for each page. WL has always been a more elegant solution, IMHO.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.