Only show wordpress admin bar for administrators

The title says it all, the following code does the trick:

Simply add this code to the bottom of your functions.php file for your active theme

[box] (!current_user_can(‘manage_options’)) { add_filter(‘show_admin_bar’,’__return_false’); }[/box]

Turkey Tunnel Logo