Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Sub Navigation renaming

@eversatile

Participant

Ah nevermind. apparently it was “my-groups” duh lol. I don’t know why it wouldn’t show up as a slug though.
Could you possibly help me one another issue?
Within the groups I have changed all of the navigation menu using;

function jm_move_group_activity_tab() {
  global $bp;
  if (isset($bp->groups->current_group->slug) && $bp->groups->current_group->slug == $bp->current_item) {
    $bp->bp_options_nav[$bp->groups->current_group->slug]['forum']['name'] = 'new name';
    $bp->bp_options_nav[$bp->groups->current_group->slug]['home']['name'] = 'new name';
    $bp->bp_options_nav[$bp->groups->current_group->slug]['members']['name'] = 'new name';
    $bp->bp_options_nav[$bp->groups->current_group->slug]['admin']['name'] = 'new name';
    $bp->bp_options_nav[$bp->groups->current_group->slug]['send-invites']['name'] = 'new name';
  }
}
add_action('bp_init', 'jm_move_group_activity_tab');

Though, I am unable to get the “forum” slug to change. I have tried many other options though nothing seems to work. Do you know if there may be another script for just that?

Skip to toolbar