How to remove admin bar WordPress 3.1


Sponsored Links




Some people feels admin bar from WordPress 3.1 quite disturbing. I think its cool feature but if you want to remove this function, here it is some alternative that I’ve collected from this blog.

Copy this code below and paste in you functions.php

wp_deregister_script('admin-bar');
wp_deregister_style('admin-bar');
remove_action('wp_footer','wp_admin_bar_render',1000);

Or this command

add_filter( ‘show_admin_bar’, ‘__return_false’ );

If you don’t want to change your functions.php perhaps you could do this in you CSS style (style.css).

#wpadminbar { display:none;}

If you’re a single blog poster and doesn’t have many users, you could disable the admin bar at wp-admin.

Go to Users > Your Profile
In Personal Options unchecked the both Options that are under admin bar.

Remove Admin Bar

That’s it and enjoy your new WordPress 3.1 without admin bar feature. Actually there some plugin you might want to install like move Admin Bar to bottom or Admin Bar minimizer.

Subscribe to Full RSS Feed

RSS FeedIf you thing this article useful, please consider subscribing to our RSS Feed or e-mail updates and stay updated with us. You can also follow @WPTricksNet on twitter for latest updates.


Related Tips and Trick from Local Data and on The Net


4 Responses to How to remove admin bar WordPress 3.1

  1. Pingback: Customize Admin Bar in Wordpress 3.1 / WordPress Themes, Plugins & Development

  2. Daniel says:

    Hi, best article, very cool!!! On WordPress Plugin Repository i found http://wordpress.org/extend/plugins/wp-admin-bar-removal/ and for me work fine!!! Bye :)

  3. Pingback: Come rimuovere la barra di amministrazione in wordpress 3.1 | Matteo Tirelli

  4. Pingback: Rimuovere la barra di amministrazione in wordpress 3.1 | MatteoTirelli.com – WordPress

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>