Skip to:
Content
Pages
Categories
Search
Top
Bottom

BBPress uses plugins template?


  • socialc
    Participant

    @socialc

    I’m building a theme and found that bp_is_user_forums() doesn’t return true and the related template is never loaded. Meaning that my-theme/buddypress/members/single/forums.php and /forums are redundant.

    Also, my-theme/buddypress/members/single/plugins.php is the file being used to render user replies, topics, subscriptions and favorites.

    This is a bit of a problem, as I need control over the markup here.

    So my question is, are there any template tags to pick up on BBPress forums at profile level and serve custom templates? If so, could you please show me how. I’m sorta stuck.

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

  • r-a-y
    Keymaster

    @r-a-y

    bp_is_user_forums() references the older legacy forums component, which is no longer in use.

    You could probably use bp_is_user() && bp_is_current_component( 'forums' ) ) as an alternative.


    socialc
    Participant

    @socialc

    @r-a-y Thanks, good idea.

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