3 * The template for displaying featured posts on the front page
6 * @subpackage Twenty_Fourteen
7 * @since Twenty Fourteen 1.0
11 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
12 <a class="post-thumbnail" href="<?php the_permalink(); ?>">
14 // Output the featured image.
15 if ( has_post_thumbnail() ) :
16 if ( 'grid' == get_theme_mod( 'featured_content_layout' ) ) {
19 the_post_thumbnail( 'twentyfourteen-full-width' );
25 <header class="entry-header">
26 <?php if ( in_array( 'category', get_object_taxonomies( get_post_type() ) ) && twentyfourteen_categorized_blog() ) : ?>
27 <div class="entry-meta">
28 <span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span>
29 </div><!-- .entry-meta -->
32 <?php the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">','</a></h1>' ); ?>
33 </header><!-- .entry-header -->
34 </article><!-- #post-## -->