Pieter Le Roux
asked 11 years ago

When you enable registrations, a black bar at the top with WordPress stuff on the most left, next to Login and Register, appears. They can go to “Dashboard” and all kinds of crap. I don’t like it at all. I’m using Buddypress, it already includes the profile stuff on the top right. How can I remove the wordpress stuff?

1 Answers
Guru
answered 11 years ago

You can add the following line to your theme functions.php file to disable the topbar
add_filter( ‘show_admin_bar’, ‘__return_false’ , 1000 );

Pieter Le Roux
replied 11 years ago

Thanks I’ll try that. Does it keep the top right portion that BuddyPress leaves with Profile/Activity etc?

Guru
replied 11 years ago

i am not sure about the buddypress bar, please test and inform us.

Pieter Le Roux
replied 11 years ago

It gets rid of it completely, thanks for the code

Powered by DW Question & Answer Pro