Re-Arrange the Group and Profile Navigation Menu

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

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 );

That’s it!

BuddyPress Hosting Guide Looking for quality BuddyPress hosting? We will guide you through all the available hosting options and help you find the best webhost for your next BuddyPress project!

8 Responses to Re-Arrange the Group and Profile Navigation Menu

  1. Juanma Guerrero November 24, 2010 at 2:12 pm #

    It seems great, nevertheless it would be nice if you start adding some sample screenshots to your posts from now on.

    Thanks for sharing these tips!

  2. bowe November 24, 2010 at 4:03 pm #

    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!

  3. Avi M November 25, 2010 at 7:03 pm #

    maybe a bit more of a description for n00bs like me. I’m not getting what this does.

  4. Suman December 27, 2010 at 8:09 pm #

    Hello sir,
    After i change some setting / themes i got error while i test buddypress site in my localhost, please give me solution how to remove that error.

    I got the error now buddypress is not working.

    please guide me

    Fatal error: Cannot redeclare bp_dtheme_ajax_querystring() (previously declared in C:\Program Files\VertrigoServ\www\buddy\wp-content\plugins\buddypress\bp-themes\bp-default\_inc\ajax.php:20) in C:\Program Files\VertrigoServ\www\buddy\wp-content\themes\dusk\_inc\ajax.php on line 63

    please guide me.


  5. Mike July 26, 2011 at 5:10 am #

    Is there a way to add a class and title attribute to a profile or group nav item by using this same method?

  6. Alfredo J. August 14, 2011 at 2:03 pm #

    Hey thanks for putting this up!
    I, however, don’t understand how to put it into the functions.php code. When i tried i got an error saying “unexpected $end on………../functions.php line 547″ (


  7. Candy November 7, 2011 at 6:07 pm #

    What about the tabs in the secondary menu?

    Like under “Activity” the ones that correspond to:


    How do we change the labels for those !??!?!?


  8. Kris Cone April 28, 2013 at 7:31 pm #

    I would like to also know how to move say some top level menus (like Following or Followers) to a sub level menu (like under a Social menu from the top = where social maybe is just the Activity page). Is that possible?


Leave a Reply