- Timestamp:
- 10/28/2013 05:57:57 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/inc/template-tags.php
r25856 r25971 160 160 161 161 /** 162 * Displays an optional featured image, with an anchor element162 * Displays an optional post thumbnail, with an anchor element 163 163 * when on index views, and a div element when on a single view. 164 164 * … … 172 172 ?> 173 173 174 <div class=" featured-thumbnail">175 <?php the_post_thumbnail( ' featured-thumbnail-large' ); ?>174 <div class="post-thumbnail"> 175 <?php the_post_thumbnail( 'post-thumbnail' ); ?> 176 176 </div> 177 177 178 178 <?php else : ?> 179 179 180 <a class=" featured-thumbnail" href="<?php the_permalink(); ?>" rel="<?php the_ID(); ?>">180 <a class="post-thumbnail" href="<?php the_permalink(); ?>" rel="<?php the_ID(); ?>"> 181 181 <?php if ( has_post_thumbnail() ) : 182 the_post_thumbnail( ' featured-thumbnail-large' );182 the_post_thumbnail( 'post-thumbnail' ); 183 183 else : ?> 184 184 <p class="screen-reader-text"><?php _e( 'No featured image.', 'twentyfourteen' ); ?></p>
Note: See TracChangeset
for help on using the changeset viewer.