Commits

Doug Stewart committed 99fbec4

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

Comments (0)

Files changed (1)

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();
 
 /**
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.