Remove wordpress admin bar in versions 3.0 +

If you are using any of the newer versions of WordPress you may miss having the functionality to let you turn of the admin bar that hovers on the top once you are logged in. I personally prefer this off as it tends to throw off the look of your design as you are working on it.

Head over to your theme’s functions.php

Enter the following code after all the important code is initialised:

add_filter(‘show_admin_bar’, ‘__return_false’);

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published.