Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: customizing buddypress profile page default tab and item-nav order

@sean-infinitee

Participant

Hey guys-hoping you can help me figure out what I’m doing wrong…if I can’t hide or remove the “community” tab then it would seem to be a pretty simple concept to change the order of the tab, but no luck with the above…not that php or css savvy but the instructions here are pretty straightforward so any help is appreciated!

Using latest wordpress version and just installed buddypress yesterday so I would assume it is also the latest version.

My website is http://www.defendersofturntablism.org

I added the line `define( ‘BP_DEFAULT_COMPONENT’, ‘preferred_default_tab’ ); to wp-config.php above ‘//MySQL settings – You can get this info from your web host **//`

Created bp-custom.php in plugins folder and added

`function bbg_change_profile_tab_order() {
global $bp;

$bp->bp_nav = 10;
$bp->bp_nav = 20;
$bp->bp_nav = 30;
$bp->bp_nav = 40;
}
add_action( ‘bp_setup_nav’, ‘bbg_change_profile_tab_order’, 999 );`

Unfortunately all this has done is add the above line of code to the header of my site…can anyone help me figure this out??! Seems like it should be very simple. Ideally I want to have see the community tab go away and have the members section contain the buddypress activity, groups, forums, etc.

Thanks in advance!!

Skip to toolbar