forked from mirror/_s
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:
parent
bcff5534a5
commit
e59b1cd448
|
@ -60,9 +60,12 @@ function _s_setup() {
|
||||||
add_theme_support( 'automatic-feed-links' );
|
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.
|
* This theme uses wp_nav_menu() in one location.
|
||||||
|
|
Reference in New Issue