I have made three observations on my own platforms related to the return of the admin bar in WordPress 3.1. First, it is annoying. Second, I have noticed a considerable slowdown in the page’s ability to render while it is being displayed, and oddly it seems to actually lag a bit in the processing too though I have no benchmarks to prove that. Third, I have noticed it breaking a lot of themes. Sometimes web development does not make sense and you just have to go with the answer “I hate it”, so here is how to get rid of that floating top admin bar on your theme.
Open up your theme’s functions.php file and drop this line in there. I added mine near the top.
PHP Code:<?php
add_filter('show_admin_bar','__return_false');
?>
