WordPress 3.1 introduced a new feature: the admin bar. It is quite cool, but I’ve heard from many people who’d like to remove it. Here is a little recipe about how you can remove it.
Paste the following piece of code into your functions.php file, save it and goodbye admin bar.
wp_deregister_script('admin-bar'); wp_deregister_style('admin-bar'); remove_action('wp_footer','wp_admin_bar_render',1000);
Thanks to Specky Boy for the tip!