Turn post thumbnail support off by default, as it's used nowhere in the theme by default. Also add a DocBlock into the theme which gives more information on post thumbnail support implementation.

This commit is contained in:
Philip Arthur Moore 2013-04-24 19:57:11 +09:00
parent bcff5534a5
commit e59b1cd448
1 changed files with 5 additions and 2 deletions

View File

@ -60,9 +60,12 @@ function _s_setup() {
add_theme_support( 'automatic-feed-links' );
/**
* Enable support for Post Thumbnails
* Enable support for Post Thumbnails on posts and pages
* For post-only support, use add_theme_support( 'post-thumbnails', array( 'post' ) );
* For page-only support, use add_theme_support( 'post-thumbnails', array( 'page' ) );
* See http://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails
*/
add_theme_support( 'post-thumbnails' );
//add_theme_support( 'post-thumbnails' );
/**
* This theme uses wp_nav_menu() in one location.