Skip to:
Content
Pages
Categories
Search
Top
Bottom

is_bbpress() not working in Buddypress Group Forum pages


  • Toby
    Participant

    @tobyhawkins

    Using WordPress 3.9.2, bbPress 2.5.4 and BuddyPress 2.0.2. Site is password protected I’m afraid. It is using a custom theme, based on Responsive.

    is_bbpress() is returning false on any bbpress pages that fall under a BuddyPress group. If this seems to be custom theme related are there any tips for debugging?

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

  • Toby
    Participant

    @tobyhawkins

    I should mention that it still doesn’t work when I delete the child theme bbpress overrides.


    Toby
    Participant

    @tobyhawkins

    Still not completely sure why this is happening, but I think it’s because of the way the forum is being displayed using the BuddyPress group tabs/screen hooks. Digging into the is_bbpress() function, none of the WP_Query information is being set so it doesn’t pass any of the is_ functions.

    You can filter is_bbpress in bbpress > includes > extend > buddypress > groups in the setup_filters() function and get it working, but I can’t see a way of doing this without modifying the plugin code.

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