Monday, October 28, 2013

Wordpress: Hide the admin bar

A really quick solution to hide the admin bar for logged in users. Put this in your theme's functions.php:

 add_filter('show_admin_bar', '__return_false');  

No plugin is needed and you can modify the code with further conditions...