How to Remove WordPress Admin Toolbar

| Last Updated: | In: WordPress, WordPress Beginners, WordPress Snippets


If you want to remove the admin toolbar while accessing the front end of your WordPress website, then this tutorial is specially designed for you. In this tutorial, I will explain the very easy way to remove the WordPress admin toolbar.

You can remove the admin toolbar in many ways like you can remove by using the custom code in functions.php or you can use the plugin admin setting option or you can do by using the WordPress plugins. See the below all steps:

Disable Admin Bar for All Users Except Admin

If you don’t want to use any WordPress plugins to remove admin tool bar, then simply add the below code in your theme’s functions.php files. Below code will hide the admin toolbar while any user accessing the website except the administrator user.

Remove for All Users

Want to remove admin toolbar for all users, then use the below code at the end of your theme’s functions.php file.

Remove for All Users With Help of Plugin

If you don’t know the coding, then use the “Hide Admin Bar” WordPress plugin to hide the admin toolbar.

Download from WordPress.org

How to install Hide Admin Bar

The installation of Hide Admin Bar plugin is very easy & simple, like another WordPress plugin. Follow the below instructions to install this plugin on your WordPress websites.

Step 1) Download the Hide Admin Bar plugin.

Step 2) Login to your WordPress admin panel and navigate to the Plugins => Add New => Upload.

Step 3) Select the downloaded .zip file and click on Install Now button.

Step 4) Activate the plugin through the ‘Plugins’ menu in WordPress.

Step 5) Enjoy!, there is no configuration for this.

After followed any of above steps, the admin toolbar will be removed from front end website See the below screenshot.

Over to You

If you still need any help to configure the Hide Admin Bar WordPress plugins, then feel free to put your comments in below comment section. I will be happy to help to configure Hide Admin Bar plugin in your website. Do you like & share this article with your friends, and don’t forget to follow us on Facebook and Twitter to learn cool WordPress tutorials.


About: Prem Tiwari

Prem Tiwari is the founder of freewebmentor.com and is a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies.


You may also like:


, , ,