Where are a lot of new features in WordPress 3.1 and one of them is Admin Bar and we are going to remove it. Some would say that Admin Bar is very useful and handy because you can easily access your WordPress dashboard, you can add new posts or manage your comments etc… , but where are bloggers, who think that it is annoying and distracting (and I’m one of them), and I can’t work when something is annoying me.
So I will show you how to remove Admin Bar from WordPress blog (or rather, how to disable Admin Bar, because you can turn it on later).
Removing Admin Bar from WordPress Blog
It is really simple, you don’t need any coding, just go to Your Profile (roll over your nick name on Admin Bar and click “Edit My Profile“).
In your profile editor you must find “Show Admin Bar” and uncheck “when viewing site“. Save your changes and that’s all.
Now your WordPress Admin Bar will not appears on your blog.
Removing Admin Bar in functions.php
If first method was too easy for you, then you can remove your WordPress Admin Bar by adding this line of code to your finctions.php file:
This method will be useful if you are developing some WordPress templates or a websites on WordPress where Admin Bar is not necessary.