WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I force WordPress/Buddypress to use the WordPress admin bar on the frontend?

I know that I can disable the BP bar with define( 'BP_DISABLE_ADMIN_BAR', true ); in the config, but the admin bar does not show back up.

share|improve this question

closed as off-topic by ialocin, kaiser Aug 7 '14 at 11:24

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

Jessica's function lead me to this... jeffersonsnewspaper.org/2012/… – mattrepublic Apr 15 '12 at 0:44
What is the problem exactly? If that's an issue for the logged out users buddypress had released a patch to fix the problem. You can find the changes here: buddypress.trac.wordpress.org/changeset/6965 – kat_indo Apr 30 '13 at 15:15
up vote 0 down vote accepted

In your wp-config.php, put this:

define( 'BP_USE_WP_ADMIN_BAR', true );

Note you must put it in wp-config.php, I had it in functions.php first and it did not work.

share|improve this answer
thanks @jessica! – mattrepublic Apr 15 '12 at 0:43

I'd re-enable it then use this to deactivate each one-by-one: http://codex.buddypress.org/theme-development/modifying-the-buddypress-admin-bar/

share|improve this answer

define( 'BP_DISABLE_ADMIN_BAR', false); or just delete that code might work, also check in your options on your dashboard in your profile Users->Your Profile

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.