]> scripts.mit.edu Git - autoinstalls/wordpress.git/blob - wp-content/themes/twentythirteen/content-quote.php
WordPress 4.2.1
[autoinstalls/wordpress.git] / wp-content / themes / twentythirteen / content-quote.php
1 <?php
2 /**
3  * The template for displaying posts in the Quote post format
4  *
5  * @package WordPress
6  * @subpackage Twenty_Thirteen
7  * @since Twenty Thirteen 1.0
8  */
9 ?>
10
11 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
12         <div class="entry-content">
13                 <?php
14                         /* translators: %s: Name of current post */
15                         the_content( sprintf(
16                                 __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
17                                 the_title( '<span class="screen-reader-text">', '</span>', false )
18                         ) );
19
20                         wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) );
21                 ?>
22         </div><!-- .entry-content -->
23
24         <footer class="entry-meta">
25                 <?php twentythirteen_entry_meta(); ?>
26
27                 <?php if ( comments_open() && ! is_single() ) : ?>
28                 <span class="comments-link">
29                         <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a comment', 'twentythirteen' ) . '</span>', __( 'One comment so far', 'twentythirteen' ), __( 'View all % comments', 'twentythirteen' ) ); ?>
30                 </span><!-- .comments-link -->
31                 <?php endif; // comments_open() ?>
32                 <?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
33         </footer><!-- .entry-meta -->
34 </article><!-- #post -->