Make WordPress Core


Ignore:
Timestamp:
10/28/2013 05:57:57 PM (11 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: clean up post thumbnail naming. Props iamtakashi, fixes #25718.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/content-featured-post.php

    r25804 r25971  
    1313        <?php
    1414            if ( has_post_thumbnail() ) :
    15                 the_post_thumbnail( 'featured-thumbnail-featured' );
     15                the_post_thumbnail( 'post-thumbnail-grid' );
    1616
    1717            else :
     
    2727                if ( $images ) :
    2828                    $image = array_shift( $images );
    29                     echo wp_get_attachment_image( $image->ID, 'featured-thumbnail-featured' );
     29                    echo wp_get_attachment_image( $image->ID, 'post-thumbnail-grid' );
    3030                endif;
    3131            endif;
Note: See TracChangeset for help on using the changeset viewer.