How to Hide the WordPress Admin Bar for All Users

Posted OnOct 14, 2013     CategoryDevelopment     CommentsNo comment

Step 1) Log in to the WordPress Dashboard

Step 2) Click Appearance from the left hand menu


Step 3) Click Editor from the left hand menu
wordpress theme editor
Step 4) Find Theme Functions as functions.php and click it.
theme functions
Step 5) Add the following code to the bottom of the file

add_filter('show_admin_bar', '__return_false');

show admin bar false

Step 6) Click update file

Leave a Reply

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

Send this to friend