Remove WordPress Admin Bar

Does the new WordPress Admin bar annoy you as much as it annoys me?
Well, it not just annoys me, it hinders, since I’m using Headspace, alot of the buttons I need to work on my site are hidden by this new Admin Bar. SO, I want to get rid of it.
There are two ways to do this:

1. In the Admin Panel, go to Users -> Your Profile -> Show Admin Bar: Uncheck

2. The hard way, the way Real Men do it: Edit your theme’s custom_functions.php and add the following code:

add_filter( 'show_admin_bar', '__return_false' );
remove_action( 'personal_options', '_admin_bar_preferences' );

This will not just remove the bar for you, but for all users. And it’s just neat to edit the code 😉

Leave a Comment

For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

If you agree to these terms, please click here.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Pin It on Pinterest

Share This

Share This

Share this post with your friends!

%d bloggers like this: