Blog Quickly Hide the WordPress Admin Bar When Logged In
June 25, 2013 Development, PHP, WordPress Social Share
Add this one line of code to your theme’s functions.php file.
add_filter('show_admin_bar', '__return_false');
There’s no need to use any CSS and this will work as long as the theme is enabled. Now if the admin bar is hiding the very top of your design or if website users don’t need the extra bar, it will be gone before you know it.