How to Disable WordPress Admin Bar for All Users Except Administrators

Some websites need to disguise the power for logged in customers to see the admin bar. This is to disguise it from customers who is not going to be utilizing the bar. In this video, we are going to present you ways to disable the WordPress admin bar for all customers besides directors.

If you preferred this video, then please Like and take into account subscribing to our channel for extra WordPress movies.

Text model of this tutorial:

Follow us on Twitter:

Checkout our web site for extra WordPress Tutorials

Summary of this Tutorial:

Start by going to your theme space in administrator

Click Editor and discover your features.php and paste the code in

add_action(‘after_setup_theme’, ‘remove_admin_bar’);

operate remove_admin_bar()

source WordPress Tutorial

Leave a Reply

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