Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Subnav template tags?

  • @pcwriter

    Participant

    Can anyone clue me in on how to specify a member profile subnav item?

    I’m trying to write a simple function that will add_action if a user tries to visit a uri like this:
    http://example.com/members/username/activity/groups/

    I’ve searched the codex and haven’t found what I’m looking for (yet…) :-(

Viewing 1 replies (of 1 total)
  • @pcwriter

    Participant

    Got it! (Props to @sbrajesh at BuddyDev)

    $bp->current_component==BP_ACTIVITY_SLUG && $bp->current_action==BP_GROUPS_SLUG

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Subnav template tags?’ is closed to new replies.
Skip to toolbar