Simply paste the following code into your functions.php file. Once saved, only admins will see the admin bar.
if (!current_user_can('manage_options')) { add_filter('show_admin_bar', '__return_false'); }
Thanks to Jeff Starr for the tip!
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
Simply paste the following code into your functions.php file. Once saved, only admins will see the admin bar.
if (!current_user_can('manage_options')) { add_filter('show_admin_bar', '__return_false'); }
Thanks to Jeff Starr for the tip!