Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Change Group Member Slug

@monkimoe

Participant

Hi.. thank you to keep guiding me.
I don’t know why those code for single groups page doesn’t working in my site.

Then I tried to modify nav tab in single members page those can working good.
This what I have in bp-custom.php:

<?php
function edit_tabs_options() {
    global $bp;
// MODIFY GROUP TABS
$bp->bp_options_nav['groups']['home']['name'] = 'Group Activity'; //NOT WORK
$bp->bp_nav['groups']['home']['name'] = 'Member Activity 2'; //NOT WORK

//MODIFY MEMBERS TABS
$bp->bp_nav['home']['name'] = 'Member Activity'; //IT'S WORK
bp_core_remove_nav_item( 'forums' ); //IT'S WORK
bp_core_remove_subnav_item( 'profile', 'change-avatar' ); //IT'S WORK

}
add_action( 'bp_setup_nav', 'edit_tabs_options' );
?>

Last try on fresh install wp + bp with default theme. I will let you know if those code works or not.

Skip to toolbar