]> scripts.mit.edu Git - autoinstalls/wordpress.git/blob - wp-content/themes/twentythirteen/content-chat.php
WordPress 3.8
[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 the_content(); ?>
24                 <?php 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>' ) ); ?>
25         </div><!-- .entry-content -->
26
27         <footer class="entry-meta">
28                 <?php twentythirteen_entry_meta(); ?>
29                 <?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
30         </footer><!-- .entry-meta -->
31 </article><!-- #post -->