[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-content/themes/twentythirteen/ -> content-quote.php (source)

   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              the_content(
  15                  sprintf(
  16                      /* translators: %s: Post title. */
  17                      __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
  18                      the_title( '<span class="screen-reader-text">', '</span>', false )
  19                  )
  20              );
  21  
  22              wp_link_pages(
  23                  array(
  24                      'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>',
  25                      'after'       => '</div>',
  26                      'link_before' => '<span>',
  27                      'link_after'  => '</span>',
  28                  )
  29              );
  30              ?>
  31      </div><!-- .entry-content -->
  32  
  33      <footer class="entry-meta">
  34          <?php twentythirteen_entry_meta(); ?>
  35  
  36          <?php if ( comments_open() && ! is_single() ) : ?>
  37          <span class="comments-link">
  38              <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a comment', 'twentythirteen' ) . '</span>', __( 'One comment so far', 'twentythirteen' ), __( 'View all % comments', 'twentythirteen' ) ); ?>
  39          </span><!-- .comments-link -->
  40          <?php endif; // comments_open() ?>
  41          <?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
  42      </footer><!-- .entry-meta -->
  43  </article><!-- #post -->


Generated: Sat Jun 6 01:00:04 2020 Cross-referenced by PHPXref 0.7.1