try this:
bp_core_remove_subnav_item( bp_get_current_group_slug(), ‘home’ );
Sorry , but what have i do whit this ?
add it into a function in your functions.php and hook this function into bp_setup_nav
read more here http://bpdevel.wordpress.com/tag/bp_core_remove_subnav_item/
hope that helps you
How hook I this function into bp_setup_nav?
add it in your function.php
function remove_group_home_nav() {
bp_core_remove_nav_item( bp_get_current_group_slug(), ‘home’ );
}
add_action( ‘bp_setup_nav’, ‘remove_group_home_nav’ );
Hi!
Ehhh any functions.php ?? Themes, BP or in a specific folder?
Running WP 3.9.1 and BP 2.0.1
I also want to remove “HOME” in BP
So the result should be first MENU Item is “FORUM” then “MEMBERS” “SEND INVITATIONS” and “ADMIN” (for admins only)
As default the menu is :
“HOME” then “FORUM” then “MEMBERS” “SEND INVITATIONS” and “ADMIN” (for admins only)
But users that get’s in at the “HOME” level post messages thinking they are posting in the FORUM…? So that is why I want to hide it or take it off!
Hope this solution works – But are unsure where to stick it… 🙂
Best regards
Nets