Change Group Tab Titles
Just a FYI for anyone wanting to change the Tab Titles found on each Single Group. I wanted to do this because the HOME tab in the group seemed confusing,so I wanted to change it to “Group Home” and also “Group’s Forum” and “Group’s Admin.”
To do this you will need to modify the bp-groups.php file found in the buddypress directory…
Navigate to line 196 or so, and change to this (the only thing you are change is the Text “Home” to “Group Home”:
/* Add the "Home" subnav item, as this will always be present */
bp_core_new_subnav_item( array( 'name' => __( 'Group Home', 'buddypress' ), 'slug' => 'home', 'parent_url' => $group_link, 'parent_slug' => $bp->groups->slug, 'screen_function' => 'groups_screen_group_home', 'position' => 10, 'item_css_id' => 'home' ) );
You can do the same for the next 5 items as well.
You must be logged in to reply to this topic.