~canonical-sysadmins/wordpress/4.7.2

« back to all changes in this revision

Viewing changes to wp-content/themes/twentythirteen/content-chat.php

  • Committer: Jacek Nykis
  • Date: 2015-01-05 16:17:05 UTC
  • Revision ID: jacek.nykis@canonical.com-20150105161705-w544l1h5mcg7u4w9
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 -->