[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  <?php
   2  /**
   3   * The template for displaying posts in the Chat 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      <header class="entry-header">
  13          <?php if ( is_single() ) : ?>
  14          <h1 class="entry-title"><?php the_title(); ?></h1>
  15          <?php else : ?>
  16          <h1 class="entry-title">
  17              <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
  18          </h1>
  19          <?php endif; // is_single() ?>
  20      </header><!-- .entry-header -->
  21  
  22      <div class="entry-content">
  23          <?php
  24              the_content(
  25                  sprintf(
  26                      /* translators: %s: Post title. Only visible to screen readers. */
  27                      __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
  28                      the_title( '<span class="screen-reader-text">', '</span>', false )
  29                  )
  30              );
  31  
  32              wp_link_pages(
  33                  array(
  34                      'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>',
  35                      'after'       => '</div>',
  36                      'link_before' => '<span>',
  37                      'link_after'  => '</span>',
  38                  )
  39              );
  40              ?>
  41      </div><!-- .entry-content -->
  42  
  43      <footer class="entry-meta">
  44          <?php twentythirteen_entry_meta(); ?>
  45          <?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
  46      </footer><!-- .entry-meta -->
  47  </article><!-- #post -->


Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref