[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * The template for displaying posts in the Aside 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. Only visible to screen readers. */
  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 if ( is_single() ) : ?>
  35              <?php twentythirteen_entry_meta(); ?>
  36              <?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
  37  
  38              <?php if ( get_the_author_meta( 'description' ) && is_multi_author() ) : ?>
  39                  <?php get_template_part( 'author-bio' ); ?>
  40              <?php endif; ?>
  41  
  42          <?php else : ?>
  43              <?php twentythirteen_entry_date(); ?>
  44              <?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
  45          <?php endif; // is_single() ?>
  46      </footer><!-- .entry-meta -->
  47  </article><!-- #post -->


Generated: Thu Nov 21 01:00:03 2024 Cross-referenced by PHPXref 0.7.1