To disable admin bar for all groups of users except admin, just paste the following code in your theme’s functions.php file.

easy-peasy ;)