Categories
General

Hiding the admin bar

The admin bar in WP 3.1 is really cool, but what if you don’t want it? Individuals can remove it on their Profile pages, but there’s no admin option to remove it globally – unless you count the show_admin_bar filter. Here’s how to use that filter, for instance in your theme’s functions.php file:

add_filter( 'show_admin_bar', 'orgten_hide_admin_bar' );

function orgten_hide_admin_bar($showhide) {
$show_admin_bar = false;
return false;
}

Avatar photo

By isaac

I like cats. he/him