3 * The template for displaying posts in the Quote post format
6 * @subpackage Twenty_Fourteen
7 * @since Twenty Fourteen 1.0
11 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
12 <?php twentyfourteen_post_thumbnail(); ?>
14 <header class="entry-header">
15 <?php if ( in_array( 'category', get_object_taxonomies( get_post_type() ) ) && twentyfourteen_categorized_blog() ) : ?>
16 <div class="entry-meta">
17 <span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span>
18 </div><!-- .entry-meta -->
23 the_title( '<h1 class="entry-title">', '</h1>' );
25 the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
29 <div class="entry-meta">
30 <span class="post-format">
31 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'quote' ) ); ?>"><?php echo get_post_format_string( 'quote' ); ?></a>
34 <?php twentyfourteen_posted_on(); ?>
36 <?php if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) : ?>
37 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyfourteen' ), __( '1 Comment', 'twentyfourteen' ), __( '% Comments', 'twentyfourteen' ) ); ?></span>
40 <?php edit_post_link( __( 'Edit', 'twentyfourteen' ), '<span class="edit-link">', '</span>' ); ?>
41 </div><!-- .entry-meta -->
42 </header><!-- .entry-header -->
44 <div class="entry-content">
46 /* translators: %s: Name of current post */
48 __( 'Continue reading %s <span class="meta-nav">→</span>', 'twentyfourteen' ),
49 the_title( '<span class="screen-reader-text">', '</span>', false )
53 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
55 'link_before' => '<span>',
56 'link_after' => '</span>',
59 </div><!-- .entry-content -->
61 <?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
62 </article><!-- #post-## -->