Permalink
Browse files

added code to remove admin bar in 3.1

  • Loading branch information...
1 parent f329d2d commit 0b97d5ada1ac0c8e7bdad4624bb3736777bfc60f @randyjensen randyjensen committed Feb 23, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 functions.php
View
@@ -88,6 +88,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.
*/
//add_theme_support( 'post-formats', array( 'aside', 'audio', 'image', 'video', 'gallery', 'chat', 'link', 'quote', 'status' ) );

0 comments on commit 0b97d5a

Please sign in to comment.