How to Disable the WordPress Toolbar and Revert to the BuddyBar

How to Disable the WordPress Toolbar and Revert to the BuddyBar

I’m a huge fan of the new WordPress toolbar integration for the BuddyPress user menu. However, if you’ve heavily customized the BuddyBar and you’re not quite ready to switch over to the new WordPress toolbar, you can still upgrade.

Here’s a quick snippet you can use to make sure your BuddyPress site continues to use the BuddyBar:

{code type=php}
// disable the WP Toolbar and revert back to the BuddyBar
add_filter( ‘bp_use_wp_admin_bar’, ‘__return_false’ );

Add that code to your bp-custom.php file and you’ll be good to go. More info on upgrading is also available in the codex.

Of course, the easiest way is to check the box in the Update Wizard that allows you to keep your BuddyBar, but if you somehow miss that, you can use the code above.

Honestly, the new integration with the WordPress toolbar is great. Don’t use the old BuddyBar unless you absolutely have to! Your users will get used to the new menu in no time and will probably thank you for it. For more information on everything else that’s new, check out our post on BuddyPress 1.6.

Free Video Why 100 is NOT a Perfect Google PageSpeed Score (*5 Min Watch) Learn how to use Google PageSpeed Insights to set realistic goals, improve site speed, and why aiming for a perfect 100 is the WRONG goal.