Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: bp_nav item values


erikshosting
Member

@erikshosting

Yah, the 999 is good to remember, but it isnt helping here..

so basically I figure that is getting written over. because when i change the name to anything else, it displays, but if i call it posts, it does nothing which makes me think its working properly, just getting overwritten down the way..

So, basically I figure i’ll just do this:

function erocks_change_bp_tag_position()
{
global $bp;

$bp->bp_nav = 20;
$bp->bp_nav = $current_user->user_login . ‘/posts’;
$bp->bp_nav = __( ‘Gigs’, ‘buddypress’ );

}
add_action( ‘bp_init’, ‘erocks_change_bp_tag_position’, 999 );

Basically this method works. but it doesnt register the slug… If I could get that sorted, I’d be set. any assistance would be appreciated

Skip to toolbar