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' );

Published by 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 ).

Leave a comment

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