Skip to main content

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 Cape Town, South-Africa. I have been programming for more than 15 years in various languages including ( CSS, HTML, javascript, PHP, MySQL, Wordpress and many other ).

More posts by Janes Oosthuizen

Leave a Reply