Add the following to your functions.php or bp-custom.php file:

[php]

function tricks_change_bp_tag_position()
{
global $bp;
//for groups and other component like links etc
$bp->bp_options_nav[‘groups’][‘activity’][‘position’] = 10;
$bp->bp_options_nav[‘groups’][‘forum’][‘position’] = 40;
$bp->bp_options_nav[‘groups’][‘gallery’][‘position’] = 30;//change it to see the effect
$bp->bp_options_nav[‘groups’][‘admin’][‘position’] = 120;
$bp->bp_options_nav[‘groups’][‘members’][‘position’] = 20;
$bp->bp_options_nav[‘groups’][‘send-invites’][‘position’] = 11;

/*function tricks_change_bp_tag_position()
{
global $bp;
$bp->bp_nav[‘profile’][‘position’] = 10;
$bp->bp_nav[‘forum’][‘position’] = 20;
$bp->bp_nav[‘gallery’][‘position’] = 30;
$bp->bp_nav[‘posts’][‘position’] = 40;
$bp->bp_nav[‘activity’][‘position’] = 50;
$bp->bp_nav[‘blogs’][‘position’] = 60;
$bp->bp_nav[‘friends’][‘position’] = 70;
$bp->bp_nav[‘messages’][‘position’] = 80;
$bp->bp_nav[‘groups’][‘position’] = 90;
$bp->bp_nav[‘settings’][‘position’] = 100;
}
add_action( ‘bp_init’, ‘tricks_change_bp_tag_position’, 999 );

}
add_action( ‘wp_head’, ‘tricks_change_bp_tag_position’,9 );
[/php]

That’s it!

Tagged

9 thoughts on “Re-Arrange the Group and Profile Navigation Menu

Author gravatar

0

Hi Juanma,

Quick tips sometimes do not have screenshots. It also depends on the trick submitter that sends in the trick. Most of the time I’ll try to include screenshots, but since this trick was not written by me, I can’t test or create screenshots for all tricks.

But feel free to send in your BuddyPress tricks, it’s very much appreciated!

Leave a Reply

Your email address will not be published. Required fields are marked *