posted on November 17, 2011 17:26 PM by Jhoy Imperial
under How To, Wordpress
Here is the simplest way to hide that wordpress admin bar from the top of your page.
Add the following code to your active theme functions.php
<?php show_admin_bar( false ); ?>
This is compatible with WordPress 3.1.0 and above. If you are still using versions lower than 3.1.0, you could check out my other post on other ways on how to hide the admin bar.
HTH
Reference: Function Reference/show admin bar
1