Skip to:
Content
Pages
Categories
Search
Top
Bottom

JetPack Widget Visibility not working onBuddyPress pages


  • jeffm2008
    Participant

    @jeffm2008

    hi.

    JetPack Widget Visibility does not seem to work on BuddyPress pages (Register, Members, Activity, etc.).
    But, when I disable BuddyPress plugin, the visibility options work.

    Example: I’m trying to hide certain widgets on the Register page. But they are still there unless I disable BuddyPress.

    Also, JetPack visibilty works perfectly on all other pages when BuddyPress is enabled, except BuddyPress pages.

    Any help would be appreciated. Thanks in advance!

    WordPress 4.8.3 running Point theme.
    BuddyPress Version 2.9.2

Viewing 2 replies - 1 through 2 (of 2 total)

  • Boone Gorges
    Keymaster

    @boonebgorges

    Hi @jeffm2008 – Thanks for the post!

    I’ve just had a look at how Jetpack handles this. Unfortunately, it looks like it’s probably fundamentally incompatible with the way that BP’s top-level pages work. While BP does use WP’s page infrastructure in the Dashboard, it then tricks WP into thinking that BP pages are *not* in fact WP pages at the time that the sidebar is rendered. So Jetpack’s checks – technically, is_page() and get_the_ID() – are failing in the case of BP pages.

    As an alternative, you might consider this plugin, which advertises support for BP content: https://wordpress.org/plugins/dynamic-widgets/


    jeffm2008
    Participant

    @jeffm2008

    I appreciate you looking into it. Thank you for your help, I’ll check it out!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar