Disable Admin Bar for WordPress

Feeling irritated with the WordPress Admin Toolbar?

Yes! You’re in the right place. I will explain to you smart and effective ways to remove Admin Toolbar from your website.

When you logged in to WordPress, It will automatically display a black bar at the top of your WordPress website. It doesn’t matter whether you are browsing around back-end or checking your website on a front end, it’s always there.

This really annoys me, especially when I’m working on a new site or theme. So if you also feel like me, then let’s proceed with the 3 simple and easy ways to hide or disable it completely.

Point to remember, WordPress Admin Bar might be annoying and distracting for many of the users. However, it contains lots of useful information about your site as well as quick links to lots of useful post types and settings. Hence, removing the WordPress Admin Bar from your website will depend on your working strategy and your likes/dislikes.

Finally, you decided to remove the WordPress Admin Bar. Then, here are the 3 simple and easy ways through which you can easily remove or hide the admin toolbar:

Disable Admin Bar using user settings

You can easily hide the admin toolbar on your website’s front-end. To implement this setting, you need to go to Users > Your Profile and search for “Show Toolbar when viewing site” and uncheck the option.

Disable Admin Bar for WordPress 1

It’s as simple as that. Now, your admin toolbar will no longer show in the front-end of your website. However, It will still be displayed on your back-end in the admin panel.

Are you looking to hide or remove the WordPress Admin Bar from both front-end as well as the back-end?  Then, you need to use the second option.

Disable Admin Bar using plugin

There are lots of plugins available that can get the job done but one of the most popular plugins from WordPress Plugin Directory is Admin Bar Disabler. It’s a very simple plugin that, when activated, will automatically hide your WP admin toolbar on front-end as well as back-end and will remove the uncheck the option from the user profile of all users.

Additional Benefit, This will also reduce your memory consumption and might even speed up the loading of your control panel.

Still not convinced with this option? Then, you must check out the third option to hide or remove the WordPress Admin Bar.

Hide Admin bar using Code Snippet

Advanced: Hide Admin Bar with a bit of technical knowledge

You can also hide or remove admin bar in WordPress, by placing the below snippet is functions.php located in the theme’s folder.

add_filter( 'show_admin_bar', '__return_false' );

Have you ever tried this on your WordPress site? Then, let me know your thoughts on that via the comments section below.

Loved this article? Feel free to share with your friends and colleagues using Twitter or any of your preferred social media.
Mehul Gohil
Mehul Gohil

Mehul Gohil is a Full Stack WordPress developer and an active member of the local WordPress community. For the last 10+ years, he has been developing custom WordPress plugins, custom WordPress themes, third-party API integrations, performance optimization, and custom WordPress websites tailored to the client's business needs and goals.

Articles: 123

Newsletter Updates

Enter your email address below and subscribe to our newsletter

Leave a Reply

Your email address will not be published. Required fields are marked *