Skip to:
Content
Pages
Categories
Search
Top
Bottom

Activity, Profile, Messages etc Tabs

  • Avatar of shanebp
    shanebp
    Moderator

    @shanebp

    A user is logged in and on their own profile page.
    Where are the Activity, Profile, Messages etc Tabs generated ?
    I need to add an anchor to the links in some of those tabs.

Viewing 1 replies (of 1 total)
  • Avatar of shanebp
    shanebp
    Moderator

    @shanebp

    Solution
    `
    function user_nav_add_anchor() {
    global $bp;
    $bp->bp_nav .= “#your-anchor”;
    $bp->bp_nav .= “#your-anchor”;
    //etc
    }
    add_action( ‘wp_head’, ‘user_nav_add_anchor’,9 );
    `
    Anyone know of a way to do this with a loop through all the $bp->bp_nav[] fields ?

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.