Twenty Thirteen: simpler name for custom image size for image post formats, see #23620.
git-svn-id: https://develop.svn.wordpress.org/trunk@23848 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fe4da10a48
commit
7587a581e3
@ -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
Block a user