I found the Recorder Tabs plugin. This definitely helps with the order of tabs in the profile page but I still don’t know how to remove the unwanted tabs. I just want to remove them from this bar and not other menus.
This is the order of my nav bar
Media – Articles – Docs – Activity – Profile – Friends – Group – Forums
I want the Activity – Profile – Friends – Groups – Forums to disappear but still be in the drop-down menu.
Can anyone help me ???
I found this snippet that will remove certain tabs but it also removes the tab from the drop-down menu too. How can I just hide tabs that I don’t want the users to see on the profile page nav bar? I still want them to be seen in the dropdown menu.
/**
* Removing the friends tab
*/
function mb_profile_menu_tabs(){
global $bp;
bp_core_remove_nav_item(‘friends’);
}
add_action(‘bp_setup_nav’, ‘mb_profile_menu_tabs’, 201);
/**
* Removing the friends tab
*/
If you just want to hide them then use some CSS, i.e. for the activity link in the members section use this.
#activity-personal-li {
display:none;
}
Find the other class or id names of the elements by inspecting the elements (right click on your screen and click inspect element on Chrome).