WordPress Remove Admin Bar

 

Admin bar is one of new features in WordPress 3.1. It’s automatically enabled for all logged-on user.

WordPress 3.1 Admin Bar

To disable the admin bar in WordPress 3.1, append the following code into functions.php file, you can find function.php under the theme folder.

remove_action( ‘init’, ‘wp_admin_bar_init’ );


Comments

34 responses to “WordPress Remove Admin Bar”

Leave a Reply