How to Disable WordPress Admin Bar for All Users Except Administrators

Do you want to disable the WordPress admin bar for any or specific users on your site? WordPress has a method for manually disabling the admin bar per user but that is not feasible if you have a lot of registered users on your site. In this article, we’ll show you how to disable the WordPress admin bar for all users except administrators.

This video brought to you by SeedProd, the best WordPress landing and page builder plugin available, take a look at their site here:


For our discount use the code: WPBVIP

There are a few different methods to do this and for the first option, we would recommend going under Users, All Users and click on edit beneath the user you want to hide the admin bar from. You should scroll down and in the options, there will be the Toolbar option to show the toolbar when viewing the site and uncheck it.

To limit the admin bar based on user role, you would want to install and activate the Hide Admin Bar Based on User Roles plugin. Under Settings, Hide Admin Bar Settings you can check the box next to the role where you would like to hide the admin bar. The plugin download link can be found below.

For our other methods, we have the code written in our article where you can copy it from and the link to that article is below.

For the added code, you would need to go under Appearance, Theme Editor, and find the functions.php file also titled theme functions. Scroll to the bottom and add the code from the article. The first code will disable the code for all users except the admin while the second code will disable it for everyone.

If you liked this video, then please Like and consider subscribing to our channel here for more WordPress videos.

Feel free to take a look at the written version of this tutorial here:

Join our group on Facebook

Follow us on Twitter

Check out our website for more WordPress Tutorials

#WordPress #WordPressTutorial #WPBeginner

How to Improve Website Performance With PSD to HTML 5 Conversion?

Producing a site that is rich in features as well as eye-catching is essential for your service and to construct such a site, it is essential to apply graphics and also designs that can attract the customer’s attention. The efficiency of the website additionally plays a great function in the success of your organization and designers are embracing tested techniques to enhance the performance of the site to ensure that their customers can enjoy site visitor interaction, more web traffic and also higher conversion rates.

Things You Should Do After Installing WordPress

Obviously, WordPress is among the most preferred CMS along with a blog writing platform that allows you to develop an SEO-friendly internet site at your very own. Are you worried how to use it?

Benefits of Magento Web Development

Do you additionally intend to begin an on-line organization? If indeed, so, this is the appropriate time to put your initiatives right into actions. As well as when it comes to selecting the right system for your online organization, so, the initial name comes in mind is Magento.

Hire An Experienced [Dot] Net Developer And Find Ease With Applications

We live at a time where organizations are run by applications. The technology has advanced to such level that there is an app for every single duty and for every industry. In a feeling, we live in an app-driven globe where everything, from info sharing to information collection, is done using one or an additional app. We can find applications around us and also it’s very easy to use them as well as recognize various objectives. Sometimes nonetheless it ends up being tough to set up applications and we stop working in the endeavour because of lack of technological expertise. This is where the utility structure enters into play in a large way.

Why Web Development Is Important For Your Business

Numerous companies still do the blunder of treating developing as well as growth as the exact same point. Which is not the situation, as style is everything about the aesthetic component of a web site while growth has to do with its technological quality.

You May Also Like