How to remove WordPress 3.1 admin bar

I have tried various methods to remove the admin bar from the front-end that was introduced in WordPress 3.1. This is by far the cleanest method.

You can add this via a plugin or directly into the theme functions.php


add_filter( 'show_admin_bar', '__return_false' );

Janes Oosthuizen

Author Janes Oosthuizen

Programmer and Tech Junky from Bloemfontein, South-Africa. I have been programming for 8 years in various languages including ( CSS, HTML, jQuery, PHP, MySQL, Wordpress and many other ).

More posts by Janes Oosthuizen

Leave a Reply