Skip to:
Content
Pages
Categories
Search
Top
Bottom

Profile Conditional Tag

  • @developdaly

    Participant

    I’m already away of bp_is_user_profile being a conditional tag for the user profile. What I’m looking for is a conditional tag that checks if the user is on any member</member> page, like the following:

    • Activity
    • Profile
    • Messages
    • Friends
    • Groups
    • Settings

    …and all of their child pages.

    Is there a tag like that?

Viewing 2 replies - 1 through 2 (of 2 total)
  • @jivany

    Participant

    Yes, I think that you can use bp_is_X_component() where X is one of profile, activity, blogs, messages, friends, groups, settings.

    @boonebgorges

    Keymaster

    Check out the last part of bp-core/bp-core-templatetags.php. There’s a bajillion listed there.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Profile Conditional Tag’ is closed to new replies.
Skip to toolbar