Make WordPress Core


Ignore:
Timestamp:
10/08/2013 09:21:19 PM (12 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: allow pages to have featured images, props iamtakashi. Fixes #25325.

File:
1 edited

Legend:

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

    r25088 r25735  
    44 * @subpackage Twenty_Fourteen
    55 */
    6 
    76?>
    87
    98<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    10     <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyfourteen' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="<?php the_ID(); ?>" class="attachment-featured-thumbnail">
    11         <?php the_post_thumbnail( 'featured-thumbnail-large' ); ?>
    12     </a>
     9    <?php twentyfourteen_featured_thumbnail(); ?>
    1310
    1411    <header class="entry-header">
Note: See TracChangeset for help on using the changeset viewer.