Display It Custom Theme 060514
// Set content width value based on the theme's design
if ( ! isset( $content_width ) )
$content_width = 960;
// Register Theme Features
function custom_theme_features() {
global $wp_version;
// Add theme support for Post Formats
$formats = array( 'gallery', );
add_theme_support( 'post-formats', $formats );
// Add theme support for Featured Images
add_theme_support( 'post-thumbnails' );
// Set custom thumbnail dimensions
set_post_thumbnail_size( 150px, 9999px, true );
// Add theme support for Semantic Markup
$markup = array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption', );
add_theme_support( 'html5', $markup );
}
// Hook into the 'after_setup_theme' action
add_action( 'after_setup_theme', 'custom_theme_features' );