A way to arrange member page profile links by name? (Activity, Friends, etc.)
My site uses a few plugins that add additional links to the top of the members profile pages. The plugins are Cubepoints, BuddyPress Wire, etc.
Is there a way to manually “move” their positions in the link menu? Is there a way to “sort” the default links in the menu?
Here is an image of the menu right now, with the plugins activated:
As you can see, Points and Wall push themselves to the front of the list. I’m trying to find a way to insert them alphabetically INTO the pre-existing links. If that’s not possible, I’d like to push them to the end of the menu.
I’d also like to arrange the pre-existing links, like Groups, Activity, Friends, etc. in alphabetical order. But I’m not sure what to change. My site uses a RocketTheme with the Gantry Framework and Gantry for BuddyPress Framework. So I don’t know if I need to edit something BuddyPress related or Gantry for BuddyPress related.
I’m looking at one of the Gantry for BuddyPress files (home.php) and it lists the following:
* BuddyPress – Users Home
* @package BuddyPress
* @subpackage bp-default
<?php do_action( 'bp_before_member_body' );
if ( bp_is_user_activity() || !bp_current_component() ) :
gantry_bp_locate_type( array( ‘members/single/activity.php’ ), true );
elseif ( bp_is_user_blogs() ) :
gantry_bp_locate_type( array( ‘members/single/blogs.php’ ), true );
elseif ( bp_is_user_friends() ) :
gantry_bp_locate_type( array( ‘members/single/friends.php’ ), true );
elseif ( bp_is_user_groups() ) :
gantry_bp_locate_type( array( ‘members/single/groups.php’ ), true );
elseif ( bp_is_user_messages() ) :
gantry_bp_locate_type( array( ‘members/single/messages.php’ ), true );
elseif ( bp_is_user_profile() ) :
gantry_bp_locate_type( array( ‘members/single/profile.php’ ), true );
elseif ( bp_is_user_forums() ) :
gantry_bp_locate_type( array( ‘members/single/forums.php’ ), true );
elseif ( bp_is_user_settings() ) :
gantry_bp_locate_type( array( ‘members/single/settings.php’ ), true );
// If nothing sticks, load a generic template
gantry_bp_locate_type( array( ‘members/single/plugins.php’ ), true );
do_action( ‘bp_after_member_body’ ); ?>
When I edited this file, nothing I rearranged carried over. So I assume I must edit this elsewhere.
Also, the Following and Followers, I believe were from a different plugin. But I see that they inserted themselves INTO the menu. I guess that’s what I’m looking to do for the other plugins like Points, Wall, etc.
Hope someone can tell me where to start. I’m baffled.
You must be logged in to reply to this topic.