Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Keeping WordPress’ Admin Bar

@chouf1

Participant

Hello,

for 1.5.x versions of BP you can add this piece of code in your wp-config.php
`define( ‘BP_USE_WP_ADMIN_BAR’, true );`
or add these function to your theme functions.php file if the above doesn’t work.
`function remove_bp_adminbar(){
remove_action( ‘wp_footer’, ‘bp_core_admin_bar’, 8 );
remove_action( ‘admin_footer’, ‘bp_core_admin_bar’);
show_admin_bar(true);
}
add_action(‘after_setup_theme’,’remove_bp_adminbar’);
?>`

or you may wait for BP 1.6 where BP’s adminbar will be integrated in WP’s one.

Skip to toolbar