WordPress 3.1 brings a new feature called wordpress admin bar. That’s a bar displayed on top of your site when you log in and it gives you quick access to general admin actions. I’m sure they will add an option to hide it soon. Until then, here is how to hide it manually.



1. Open functions.php in your theme folder.
2. Put the following code anywhere you like. (Must be wrapped inside <?php & ?> tags)

[php title=”functions.php – Code to disable admin bar”]function disable_admin_bar(){
return false;
}
add_filter( ‘show_admin_bar’ , ‘disable_admin_bar’ );

If you don’t want to edit your files, there is also a plugin doing this job for you.

Like this post? Take a look at my other wordpress hacks:

Deal Notice: We are using A2 hosting for all of our websites, and we are really happy with their service. So we wanted to share you this discount link for you to try it out. If you get a hosting using this link, you will also help us build better content for you: SSD Hosting - 300% Faster Than Standard Hard Drives