How do I completely disable the WordPress admin bar?

Posted OnOct 16, 2013     CategoryDevelopment, Question & Answer     CommentsNo comment

I want to completely disable the admin bar for all users, how do I do that?
–James

Removing the Admin Bar requires making changes to theme files, but when you install theme updates, any changes you have made will be overwritten, so we recommend creating a Child Theme before doing this.

Step 1) Log in to the WordPress Dashboard.

Step 2) Click Appearance in the left hand menu

appearance

Step 3) Click Editor in the left hand menu

appearances editor

Step 4) Click “Theme Functions” on the right hand side, this should be representative of functions.php

choosing functions-php

Step 5) Paste the following code down the bottom of functions.php

add_filter('show_admin_bar', '__return_false');

Step 6) Click “Update File” to complete

Leave a Reply

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

Send this to friend