Jump to content
Sign in to follow this  
cloudbearing

Need to disable the admin bar but not working with Platform Pro...

Recommended Posts

cloudbearing

I've installed numerous plugins that are supposed to accomplish this but none of them work. I also inserted this: #wpadminbar {display: none;} into our CSS in the Custom Code Section. It still shows up, you can see it at www.takemetothecloud.com

Share this post


Link to post
Share on other sites
Simon

The admin bar is NOT the wordpress admin bar, it is the BuddyPress bar. You can disable it with this:

	
		if( !current_user_can('administrator') ) {
	
			define( BP_DISABLE_ADMIN_BAR, true );
	
		}
	

Please go ahead and mark your other (identical) question as answered.

Share this post


Link to post
Share on other sites
cloudbearing

That was driving me crazy! Thank you!!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×