Post Pic

WordPress tip: Remove WP 3.1 Admin Bar

WordPress 3.1 comes out with a new function called Admin Bar. This bar is added to your site (both on the dashboard and the site itself) if you’re logged in. Want to remove it? That’s quite easy, just read on.

Simply paste the following line of code on your functions.php file:

remove_action('init', 'wp_admin_bar_init');

Once the file is saved, the Admin Bar will not be displayed again.

Thanks to Yoast for the tip!

2 Responses

Dec 21 2011 05:51

Thanks for this information – Do you know if this still works with the new version, 3.3?

Thanks.
Paul.

Jun 24 2012 19:43

Thanks for sharing this info, just what I’m looking.
Anyway do u know how to remove certain part of the menu only?

Trackbacks:

Leave a Comment

* Name, Email, Comment are Required

WP Theme of the week

Sponsored Likebox