From 0b97d5ada1ac0c8e7bdad4624bb3736777bfc60f Mon Sep 17 00:00:00 2001 From: Randy Date: Wed, 23 Feb 2011 09:29:29 -0600 Subject: [PATCH] added code to remove admin bar in 3.1 --- functions.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/functions.php b/functions.php index 5ab5161..61d451a 100644 --- a/functions.php +++ b/functions.php @@ -87,6 +87,11 @@ function customize_meta_boxes() { */ add_theme_support( 'post-thumbnails' ); +/** + * Disable the admin bar in 3.1 + */ +//remove_action( 'init', 'wp_admin_bar_init' ); + /** * This enables post formats. If you use this, make sure to delete any that you aren't going to use. */