Twenty Thirteen: simpler name for custom image size for image post formats, see #23620.
git-svn-id: http://core.svn.wordpress.org/trunk@23848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
22b45b2fbb
commit
85a3c6a82b
|
@ -10,7 +10,7 @@
|
|||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<div class="entry-media">
|
||||
<?php the_image( 'twentythirteen-image-post-format' ); ?>
|
||||
<?php the_image( 'twentythirteen-image-post' ); ?>
|
||||
</div><!-- .entry-media -->
|
||||
|
||||
<header class="entry-header">
|
||||
|
|
|
@ -101,7 +101,7 @@ function twentythirteen_setup() {
|
|||
set_post_thumbnail_size( 604, 270, true );
|
||||
|
||||
// Register custom image size for image post formats.
|
||||
add_image_size( 'twentythirteen-image-post-format', 724, 1288 );
|
||||
add_image_size( 'twentythirteen-image-post', 724, 1288 );
|
||||
|
||||
// This theme uses its own gallery styles.
|
||||
add_filter( 'use_default_gallery_style', '__return_false' );
|
||||
|
|
Loading…
Reference in New Issue