Remove Admin Bar In WordPress 3.1

When you are logged in as admin your blog will display a bar at the top of yourblog containing options to add post, page, moderating comments, changing appearance and some SEO tools.
If you do not want the admin bar from appearing on your blog then you may do the following to remove it:
1. Log as administrator on your blog.
2. Edit your profil . You will get that option under USERS section.
profile options in wordpress dashboard
3. Uncheck the box next to “when viewing site” and you are done.
There are other ways to disable admin bar.
The code is
add_filter( 'show_admin_bar', '__return_false' );

0 commentaires:

Post a Comment



Protected by Copyscape Web Copyright Protection

All For Blogs. Copyright 2011 All Rights Reserved powered by Revolution Church Theme hosted on Blogger