Disable Admin Bar In WordPress?

When you permit your users for registration for Your WordPress website, in that case, lots of time you want to hide from view the WordPress dashboard for end-user but it is not possible by uncomplicated coding then To put out of sight the WordPress bar you have to use the WordPress plug-in. With the help of this plug-in, you will be able to hide the admin bar. When your subscribers or users will log in to their individual account they will not be able to see the admin bar. It is present at the summit of the WordPress site. This bar can be secreted for all the audience or it can be disabled for firm users.
In this article, we will educate you on how to hide the WordPress admin bar.

I am giving a step by step guide instructions to hide the admin bar from WordPress. To Hide WordPress dashboard follow the directions.

In order to do that you will need a plug-in to be installed on your WordPress dashboard. The name of this plug-in is “Admin Bar disabler”. This is an astonishing Plug-in and works with whichever type of theme & login system. You just require to install the plug-in and follow some instructions about the plug-in setup.

#1. Open Dashboard

The first step is to open up the dashboard and head over to the plug-in tab, then click on the “add new” button.

#2. Search for the Desired Plug-in

WordPress admin bar can be disabled without difficulty with the help of a plug-in. This plug-in can also be configured for precise visitors. In order to download the plug-in, type ” Admin Bar Disabler” in the search field and then click on the Search Plug-ins button.

#3. Install Plug-in

Quite a few plug-ins would be displayed as a result. Click on the ‘Install now’ option for the “Admin-Bar-Disabler” to install it.

#4. Plug-in Activation

The plug-in documents will be downloaded and installed automatically. After the installation has been ended, click on the Activate plug-in option.

#5. Open the Plug-in

At this moment, we will organize the plug-in that we just installed. To do so, go to the settings tab accessible in the dashboard and click on the Admin Bar Disabler option.

#6. Plug-in Configuration

After clicking the option, the configuration page of the plug-in opens up. Now, We can configure the plug-in to work for the audience specified by us. It can be configured for Administrator, Editor, Author, Contributor or the Subscriber.
On behalf of the purpose of this article, we will stop it for everyone. Click on the save changes button once completed the configuration.
Now just visit the site back to check whether the changes have been implemented or not. You might notice that the WordPress Admin Bar is no more visible. So, this is how we can hide the WordPress admin bar.

This was the trouble-free method, with which you can hide the dashboard from Your end-users.

Disable With Coding:

You can disable with coding as follows,

Disable for All Users Except for Administrators

Copy & paste this code in your theme’s functions.php file or your site-specific plugin.

add_action(‘after_setup_theme’, ‘remove_admin_bar’);

function remove_admin_bar() {

if (!current_user_can(‘administrator’) && !is_admin()) {




Disable for All Users

If you would like to disable it for all users, then simply copy & paste this code in your theme’s functions.php file or your site-specific plugin.

/* Disable WordPress Admin Bar for all users but admins. */


Author: websitesearchofficiall

2 thoughts on “Disable Admin Bar In WordPress?

  1. Hey websitesearchofficiall ,

    Great post with helpful information. It is my first time commenting on your blog post and i must say that you have done a great work and included an effective tips to disable admin-bar in wordpress.

    I truly like your step by step guide that you have suggested, whereas your all the suggested steps are effective and will help several users to disable an admin-bar in wordpress. Your each of the included steps are clear, easy to understand and follow, whereas following these steps will be a great helping hand.

    Truly helpful post for wordpress users and thanks for sharing.

Leave a Reply

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