From e59b1cd44896b37c85506058aba112fb244e37da Mon Sep 17 00:00:00 2001 From: Philip Arthur Moore Date: Wed, 24 Apr 2013 19:57:11 +0900 Subject: [PATCH] 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. --- functions.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index 5a966c51..2b09018d 100644 --- a/functions.php +++ b/functions.php @@ -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.