Commits

Doug Stewart  committed 99fbec4

Re-arrange the Supports section a bit and add explicit support for Post Formats.

  • Participants
  • Parent commits 4ae9e6a
  • Branches 1.4-develop

Comments (0)

Files changed (1)

File includes/functions/supports.php

 /*
 * Add support for various WordPress-native functionality
 */
+// Set $content_width 
 if ( ! isset( $content_width ) ) $content_width = '600';
+
+// Set up supported post formats
+$lblg_post_formats = apply_filter( 'lblg_post_formats',
+									array( 	'aside',
+											'chat',
+											'gallery',
+											'image',
+											'link',
+											'quote',
+											'status',
+											'video',
+											'audio' ) );
+add_theme_support( 'post-formats', $lblg_post_formats );
 add_theme_support( 'nav-menus' );
+add_theme_support( 'custom-background' );
+add_theme_support( 'buddypress' );
 add_theme_support( 'post-thumbnails' );
 set_post_thumbnail_size( 64, 64, true );
 add_image_size( 'lb-content-header', $content_width, 9999 );
 add_theme_support( 'automatic-feed-links' );
 //add_custom_background();
-add_theme_support( 'custom-background' );
-add_theme_support( 'buddypress' );
 add_editor_style();
 
 /**