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
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
add comment

3 Answers

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
add comment

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
add comment

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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