Make WordPress Core


Ignore:
Timestamp:
11/14/2013 04:49:19 AM (12 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: simplify and prefix post thumbnail sizes, props obenland. See #25946.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/inc/template-tags.php

    r26105 r26152  
    175175    <?php
    176176        if ( ( ! is_active_sidebar( 'sidebar-2' ) || is_page_template( 'page-templates/full-width.php' ) ) && ! wp_is_mobile() )
    177             the_post_thumbnail( 'post-thumbnail-full-width' );
     177            the_post_thumbnail( 'twentyfourteen-full-width' );
    178178        else
    179             the_post_thumbnail( 'post-thumbnail' );
     179            the_post_thumbnail();
    180180    ?>
    181181    </div>
     
    186186    <?php
    187187        if ( ( ! is_active_sidebar( 'sidebar-2' ) || is_page_template( 'page-templates/full-width.php' ) ) && ! wp_is_mobile() )
    188             the_post_thumbnail( 'post-thumbnail-full-width' );
     188            the_post_thumbnail( 'twentyfourteen-full-width' );
    189189        else
    190             the_post_thumbnail( 'post-thumbnail' );
     190            the_post_thumbnail();
    191191    ?>
    192192    </a>
Note: See TracChangeset for help on using the changeset viewer.