I hate the new Admin bar in WordPress, and while it’s easy to disable in your User profile, if you have a site with many subscribers and you don’t want them to be annoyed by the bar, or for some design reason you don’t want it to show, here is the code to place in your functions.php file:
/* Disable the Admin Bar for all but admins. */
if(!current_user_can(‘administrator’)):
show_admin_bar(false);
endif;
If you want to disable the admin bar completely, add this to your functions.php file:
/* Disable the Admin Bar for everyone. */
show_admin_bar(false);
Thanks! Exactly what I was looking for. I also hate the Admin bar.
thanks, needed this
well very nice info, but i like the admin panel because it`s easy to navigate when working on the blog all day long. but congrats for the post, it`s nice to know more and it`s even nicer when there are people like you who are sharing the knowledge!
Cheers!
Thanks, nice information.
Maybe I will try this out although the admin bar doesn’t bother me as much as some of the others here.
That bar drives me nuts. It actually makes me think I’ve been hacked or something when I glance at the screen and don’t expect to see it. Thanks.
Thank you, have long wanted to remove this toolbar, but do not know how
Great tip. Thanks!
How nice and informative site it,s , Thanks for sharing .
Wow. Thanks. Anyway; now there is direct option for this. Isn’t it? Is there something I am missing?