diff --git a/wp-content/themes/twentyfourteen/functions.php b/wp-content/themes/twentyfourteen/functions.php index bbbf24c233..7c8274f5f4 100644 --- a/wp-content/themes/twentyfourteen/functions.php +++ b/wp-content/themes/twentyfourteen/functions.php @@ -69,6 +69,7 @@ function twentyfourteen_setup() { // Add several sizes for Post Thumbnails. add_image_size( 'post-thumbnail-slider', 1038, 576, true ); + add_image_size( 'post-thumbnail-full-width', 1038, 0 ); add_image_size( 'post-thumbnail-grid', 672, 372, true ); add_image_size( 'post-thumbnail', 672, 0 ); diff --git a/wp-content/themes/twentyfourteen/inc/template-tags.php b/wp-content/themes/twentyfourteen/inc/template-tags.php index 191d77588a..6f85115b4d 100644 --- a/wp-content/themes/twentyfourteen/inc/template-tags.php +++ b/wp-content/themes/twentyfourteen/inc/template-tags.php @@ -172,14 +172,21 @@ function twentyfourteen_post_thumbnail() { ?>
- +
-