Skip to:
Content
Pages
Categories
Search
Top
Bottom

If BBpress then, else

  • WPMU+BuddyPress+BBpress

    How do you write the php code to say

    if in a bbpress side

    do this

    if wordpress (or else) do that.

    ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Assuming you’re talking about deep integration of bbPress, you should be able to use one of the constants defined in the settings of WordPress MU / BuddPress to determine if bbPress is embedded or not.

    but but.. I don’t know what that means! but I don’t need it anymore.

    If they are deeply integrated then you will have a hard time figuring this out as if you ask Is this is WP? WP will say yes and if you ask Is this is bbP? then bbP will say yes and if they are deeply integrated then both questions will return a yes.

    Ah, thank you for clearing that up.

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