]> scripts.mit.edu Git - autoinstalls/wordpress.git/blob - wp-content/themes/twentythirteen/content-chat.php
WordPress 4.2
[autoinstalls/wordpress.git] / wp-content / themes / twentythirteen / content-chat.php
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                         /* translators: %s: Name of current post */
25                         the_content( sprintf(
26                                 __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
27                                 the_title( '<span class="screen-reader-text">', '</span>', false )
28                         ) );
29
30                         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>' ) );
31                 ?>
32         </div><!-- .entry-content -->
33
34         <footer class="entry-meta">
35                 <?php twentythirteen_entry_meta(); ?>
36                 <?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
37         </footer><!-- .entry-meta -->
38 </article><!-- #post -->