Bundled Themes: Link to an updated documentation on post thumbnails on developer.wordpress.org, instead of Codex.
Props samanehmirrajabi. Fixes #46823. git-svn-id: https://develop.svn.wordpress.org/trunk@45126 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8cd187c23a
commit
60e5087b36
@ -75,7 +75,7 @@ if ( ! function_exists( 'twentyfifteen_setup' ) ) :
|
||||
/*
|
||||
* Enable support for Post Thumbnails on posts and pages.
|
||||
*
|
||||
* See: https://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails
|
||||
* See: https://developer.wordpress.org/reference/functions/add_theme_support/#post-thumbnails
|
||||
*/
|
||||
add_theme_support( 'post-thumbnails' );
|
||||
set_post_thumbnail_size( 825, 510, true );
|
||||
|
@ -81,7 +81,7 @@ if ( ! function_exists( 'twentysixteen_setup' ) ) :
|
||||
/*
|
||||
* Enable support for Post Thumbnails on posts and pages.
|
||||
*
|
||||
* @link https://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails
|
||||
* @link https://developer.wordpress.org/reference/functions/add_theme_support/#post-thumbnails
|
||||
*/
|
||||
add_theme_support( 'post-thumbnails' );
|
||||
set_post_thumbnail_size( 1200, 9999 );
|
||||
|
Loading…
Reference in New Issue
Block a user