Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author wickedplugins

    (@wickedplugins)

    Hi @ashf,

    Hmmm, it appears to be working for me when I add a post ID or slug condition to a Custom HTML block. Do other conditions work for you?

    If you do a hard browser refresh, does that change anything?

    Thread Starter ashf

    (@ashf)

    Did you reload the page?(widget screen)
    Until you reload the page, it’s there.
    But after you reload the page it’s not shown.
    And of course, the conditions does not work.

    Thread Starter ashf

    (@ashf)

    It seems to be only on the Widget screen.

    Plugin Author wickedplugins

    (@wickedplugins)

    Ahhh, okay, I didn’t realize this was on the Widgets screen. I’ll have to do some digging to figure out why the behavior is different there.

    Thread Starter ashf

    (@ashf)

    Any news?

    Plugin Author wickedplugins

    (@wickedplugins)

    Hi @ashf,

    I’m sorry, I looked into it more tonight and so far haven’t been able to figure out why the conditions aren’t working for widgets. I’ll keep working on it but I’m afraid I don’t have a solution yet.

    Plugin Author wickedplugins

    (@wickedplugins)

    Hi @ashf,

    I’m still trying to figure this out. It appears that the conditions work for other blocks that I’ve tested on the Widgets screen (with the exception of legacy blocks) but for some reason the conditions are getting dropped with the HTML block.

    As a work-around, would it work to create a shortcode for your custom HTML and use a Shortcode block to output it? I tested the conditions with a Shortcode block on the Widgets screen and it worked as expected.

    Thread Starter ashf

    (@ashf)

    I see.
    Thank you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Conditions on Custom HTML isn’t saved’ is closed to new replies.