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.

I am having trouble with adminbar in my site. I have buddypress installed on my site. i have disabled wordpress default admin bar using few lines of code. But it still showing i am pretty sure its coming from buddypress. is there any simeple lines of code that can remove top admin bar? I don't want to use plugin.

Thanks in advance for help.

share|improve this question

closed as off-topic by toscho Aug 2 '14 at 20:42

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 Answer 1

up vote 0 down vote accepted

write this code in config.php

This file is located in the root directory.

** THis Will Remove disgusting Buddypress Top Admin Bar. Add this line of code at last of the previous codes and you are done */

define( 'BP_DISABLE_ADMIN_BAR', true );
share|improve this answer

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