~canonical-sysadmins/wordpress/4.7.2

« back to all changes in this revision

Viewing changes to wp-content/themes/twentythirteen/content-quote.php

  • Committer: Jacek Nykis
  • Date: 2015-01-05 16:17:05 UTC
  • Revision ID: jacek.nykis@canonical.com-20150105161705-w544l1h5mcg7u4w9
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentythirteen' ) ); ?>
 
14
                <?php 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>' ) ); ?>
 
15
        </div><!-- .entry-content -->
 
16
 
 
17
        <footer class="entry-meta">
 
18
                <?php twentythirteen_entry_meta(); ?>
 
19
 
 
20
                <?php if ( comments_open() && ! is_single() ) : ?>
 
21
                <span class="comments-link">
 
22
                        <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a comment', 'twentythirteen' ) . '</span>', __( 'One comment so far', 'twentythirteen' ), __( 'View all % comments', 'twentythirteen' ) ); ?>
 
23
                </span><!-- .comments-link -->
 
24
                <?php endif; // comments_open() ?>
 
25
                <?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
 
26
        </footer><!-- .entry-meta -->
 
27
</article><!-- #post -->