Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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 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.

1  
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

3 Answers 3

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.