• Resolved Erin Ptah

    (@sailorptah)


    WordPress updates and their Helpful Improvements strike again.

    My site had a set of “Classic” Custom HTML widgets that had Jetpack visibility settings, so you would only see one of them at a time, depending on the taxonomy of the post. I converted them to Block Custom HTML, and suddenly all of them were appearing together in a big stack on every post.

    For the moment I just moved all of them to Inactive Widgets, except one. It’s the content of this aside:

    <aside id="block-15" class="widget widget_block">

    It was set by Jetpack to only be visible on the front page, i.e. here:

    [ redundant link removed ]

    Right now it’s on all the individual pages too, e.g. here:

    [ redundant link removed ]

    I have unconverted Classic widgets where the visibility settings are still operating just fine…but sadly “dig in your heels and refuse to upgrade” isn’t a strategy that’ll work forever.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Dan (a11n)

    (@drawmyface)

    Hi @sailorptah and @dreadlox

    I believe this should be fixed in Jetpack 9.9.1, which was released yesterday.

    You can read about the fix here:

    https://github.com/Automattic/jetpack/issues/20057

    Please let us know if you still have trouble after updating Jetpack.

    Plugin Contributor sdixon194

    (@sdixon194)

    Hey Erin, apologies for the confusion here! There was an issue with classic/legacy widget visibility not working with WordPress 5.8 prior to Jetpack 9.9.1, which has been addressed – however visibility settings still aren’t available for the block based widgets (which it sounds like what you converted to).

    In the meanwhile, using the legacy widgets you were using before (prior to converting them to block based widgets) should let you continue to use the visibility settings as before. We’re actively working on adding support for the newer block based widgets. While we don’t have an ETA, you can track progress on the issue that Dan provided above, and once it’s closed, will launch in the next version of Jetpack.

    If you run into any other issues, don’t hesitate to let us know!

    Thread Starter Erin Ptah

    (@sailorptah)

    Thanks! And yes, it turns out I have another issue.

    On a legacy widget that’s supposed to be visible on a few different post categories, the “Match all conditions” button keeps checking itself. (They’re mutually-exclusive categories, so the result is that the widget appears nowhere.) I un-check the option, I click “update”, I scroll down to the widget and it’s automatically checked again.

    Plugin Contributor Dan (a11n)

    (@drawmyface)

    Dan, that forum post you linked to outright says it’s not fixed:

    @sailorptah sorry about that, the issue was reopened a few hours after I posted here, so I wasn’t aware of that at the time.

    On a legacy widget that’s supposed to be visible on a few different post categories, the “Match all conditions” button keeps checking itself.

    I’m having trouble reproducing that.

    – Does it happen for all widgets, or only specific ones?
    – Does it happen with any conditions, or only category?
    – Are you editing the widget via Appearance > Widgets, or using the Customizer?

    Thanks

    Thread Starter Erin Ptah

    (@sailorptah)

    The original problem was with the Democracy Poll widget (from the plugin of the same name), but I tested Navigation Menu and Goodreads (Jetpack), and had the same problem.

    And it was actually Taxonomy I was trying to use, but having tested a bunch of others on the Navigation Menu widget: Category does it too, as do Author, Role, and Date.

    I’m using Appearance > Widgets.

    (It doesn’t visibly check itself, but right away the site behaves as if it’s checked, and then when I load Widgets again I find it changed.)

    Plugin Support Animesh Gaurav (a11n)

    (@bizanimesh)

    Hey there @sailorptah, I was not able to reproduce the second issue that you pointed. I’m using the Twenty Seventeen theme and tested with navigation and Goodreads widget. Here is what steps I did:

    • I added above mentioned both widgets.
    • Added some conditions with categories in the widget visibility with the match all condition options checked and published.
    • Then I unchecked the match all condition option and clicked the published button, but as you mentioned, it was not automatically checked again on my side.

    Let me know if I’m missing any steps? I tried the above things both from Appearance > Widget and Appearance > Customize > Widgets option.

    If my steps are correct, then can you please test this with a default theme like Twenty Twenty or Twenty Seventeen or maybe disabling all plugins except Jetpack? You may take the help of Health Check plugin to do this troubleshoot without affecting the site for your visitors.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Visibility settings on new Block Widgets?’ is closed to new replies.