Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter azexo

    (@azexo)

    page condition – remove widget from sidebar – my mistake.
    update:
    page condition – not work with is_active_widget

    Plugin Contributor csonnek

    (@csonnek)

    Happiness Rocketeer ??

    Can you be more specific into what you’re trying to set in your widget? Also, can you let me know what site you’re having this problem? Once I have that information, I’ll be better able to help.

    If you want it to remain private, you can also contact us via this contact form:
    https://jetpack.me/contact-support/

    Thanks!

    milesgilmour

    (@milesgilmour)

    Just to add some more detail to this.

    Running is_active_widget via the ‘init’ action, It looks like is_active_widget doesn’t work when you are using Jetpack’s widget visibility.

    Stepping through the code for is_active_widget I noticed that widgets that should appear conditionally (and does appear on the page) are missing from the array that represents the active widgets for the particular sidebar it’s actually in (so are not returned as being active by is_active_widget).

    It could be there is a more appropriate / later action that we should hook into to check widget visibility when Jetpack is installed?

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    @milesgilmour I believe I touched on this issue in this trac ticket: https://core.trac.www.ads-software.com/ticket/29155

    Feel free to chime in with your ideas!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘widget visibility issues’ is closed to new replies.