~canonical-sysadmins/wordpress/4.8.1

« back to all changes in this revision

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

  • Committer: Nick Moffitt
  • Date: 2015-01-15 11:04:26 UTC
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: nick.moffitt@canonical.com-20150115110426-5stm1p14cfnxrtme
New Upstream Version 4.1

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_Twelve
7
 
 * @since Twenty Twelve 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>', 'twentytwelve' ) ); ?>
14
 
                </div><!-- .entry-content -->
15
 
 
16
 
                <footer class="entry-meta">
17
 
                        <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php echo get_the_date(); ?></a>
18
 
                        <?php if ( comments_open() ) : ?>
19
 
                        <div class="comments-link">
20
 
                                <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentytwelve' ) . '</span>', __( '1 Reply', 'twentytwelve' ), __( '% Replies', 'twentytwelve' ) ); ?>
21
 
                        </div><!-- .comments-link -->
22
 
                        <?php endif; // comments_open() ?>
23
 
                        <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?>
24
 
                </footer><!-- .entry-meta -->
25
 
        </article><!-- #post -->