WordPress tip: Remove WP 3.1 Admin Bar

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!

Looking for WordPress hosting? Try WP Web Host. Prices starts at $5/month and you can try it for free!

WordPress tip: Remove WP 3.1 Admin Bar

Related posts:

  1. How to set HTML editor as the default in WordPress
  2. WordPress trick: Get category slug using category ID
  3. Automatically add a search field to your navigation menu

Leave a Reply