-
Author
-
August 6, 2015 at 17:15 #71989
Camyen
ParticipantI did some research on #reordering the BP profile nav bar and #renaming ‘Activity’ to ‘Wall’
All suggestions seemly are pointed out the code below which should be added to my theme’s function.php. It didn’t make any change on my site. Any idea?
`function bbg_change_profile_tab_order() {
global $bp;$bp->bp_nav[‘profile’][‘position’] = 10;
$bp->bp_nav[‘activity’][‘position’] = 20;
$bp->bp_nav[‘friends’][‘position’] = 30;
$bp->bp_nav[‘groups’][‘position’] = 40;
$bp->bp_nav[‘blogs’][‘position’] = 50;
$bp->bp_nav[‘messages’][‘position’] = 60;
$bp->bp_nav[‘settings’][‘position’] = 70;
}
add_action( ‘bp_setup_nav’, ‘bbg_change_profile_tab_order’, 999 );August 6, 2015 at 17:16 #71990Camyen
ParticipantI did some research on #reordering the BP profile nav bar and #renaming ‘Activity’ to ‘Wall’
All suggestions seemly are pointed out the code below which should be added to my theme’s function.php. It didn’t make any change on my site. Any idea?
COPY CODEfunction bbg_change_profile_tab_order() {global $bp;
COPY CODE$bp->bp_nav[‘profile’][‘position’] = 10;$bp->bp_nav[‘activity’][‘position’] = 20;
COPY CODE$bp->bp_nav[‘friends’][‘position’] = 30;$bp->bp_nav[‘groups’][‘position’] = 40;
COPY CODE$bp->bp_nav[‘blogs’][‘position’] = 50;$bp->bp_nav[‘messages’][‘position’] = 60;
COPY CODE$bp->bp_nav[‘settings’][‘position’] = 70;}
`add_action( ‘bp_setup_nav’, ‘bbg_change_profile_tab_order’, 999 );August 6, 2015 at 17:27 #71991Radu
ModeratorRegarding to renaming activity to wall try this
COPY CODEfunction change_activity_title($data) { if( $data == 'Activity' ) { $data = 'Wall'; } return $data; } add_filter( 'bp_get_directory_title', 'change_activity_title' );Let me know if it works.
Regards
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 6, 2015 at 17:29 #71992Radu
ModeratorRegarding to buddypress tab ordering read here : https://bp-tricks.com/snippets/code/arrange-group-profile-navigation-menu/
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 6, 2015 at 17:58 #72007Radu
ModeratorRead here :http://blog.maximusbusiness.com/2013/04/bp-profile-nav-positions-names/#change-subnav-tab
Let me know if this was helped you.
Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 7, 2015 at 09:37 #72123Camyen
ParticipantI tried all above solutions. MB’s code partly works. All tabs can be reordered or renamed excepted ‘Job Manager’.
I hunted a plugin from BuddyPress (Reorder Tabs). Now, ‘Job Manager’ can be reordered through modification on WP admin. There isn’t any solution for renaming it.
Any idea?
Thank you, @Radu
August 7, 2015 at 12:08 #72127Radu
ModeratorHi,
What place would you like to occupy the job manager?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 7, 2015 at 12:15 #72128Camyen
Participant‘Job’
It can be named anything. The core problem is that the above and other known code solutions are not working with ‘Job Manager’. BuddyBoss Reorder Tabs solve reordering only. What’s the root cause for that? Any idea?
August 10, 2015 at 12:00 #72395Radu
ModeratorHi,
I don’t know exactly why, it require time to investigate debug etc. But if you have solved it’s ok.
Can i close the topic ?
Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The topic ‘Theme CSS Required for Plugin Navi Tab’ is closed to new replies.