Removing the WordPress Admin Bar

Keith Curreri - Blog Headshot

By Keith Curreri on May 24, 2011

If you have updated WordPress to its 3.1 version, you will notice that when you view your site while you are logged into the admin section you will see an admin bar. Some users may like this new addition, but others may find it kind of obtrusive. If you are in the latter group, there are three ways that you can remove this admin bar.

WP 3.1 Admin Bar

Remove Admin Bar in WP Dashboard

You can remove the Admin bar in your WordPress Dashboard settings by simply going to Users -> Your Profile -> Admin Bar. Here you will see the option to turn off the admin bar either while in the dashboard or while viewing your site. This will get the job done, but if you have multiple users you will have to go into each user account and change this setting. If you have a lot of users this can get tedious and you may want to explore one of the options below.

Admin Bar Settings

Modify The Functions.php File

If you are familiar with coding and the WordPress theme layout, modifying the functions.php file may be the way to go. All you need to do is add the following line of code in functions.php:

//Remove Admin Bar
function my_function_admin_bar(){
    return false;
add_filter( 'show_admin_bar' , 'my_function_admin_bar');

This will remove the admin bar for all users on your WordPress site.

Using a plugin

Of course, there are also plugins that will remove the admin bar for you. Below are a few:

Did you like this post? Want to get more like it?

Website Redesign Course
Notify of
Inline Feedbacks
View all comments
Mitch Mitchell
12 years ago

Hey Keith,

I can’t tell you if the fix worked or not because I don’t have that bar in my admin panel; never have. How weird is that?

12 years ago
Reply to  Mitch Mitchell

Hey Mitch,

That is weird. Guess it saves you some work!

Would love your thoughts, please comment.x