Wordpress 3.7
[autoinstalls/wordpress.git] / wp-content / themes / twentythirteen / single.php
1 <?php
2 /**
3  * The template for displaying all single posts
4  *
5  * @package WordPress
6  * @subpackage Twenty_Thirteen
7  * @since Twenty Thirteen 1.0
8  */
9
10 get_header(); ?>
11
12         <div id="primary" class="content-area">
13                 <div id="content" class="site-content" role="main">
14
15                         <?php /* The loop */ ?>
16                         <?php while ( have_posts() ) : the_post(); ?>
17
18                                 <?php get_template_part( 'content', get_post_format() ); ?>
19                                 <?php twentythirteen_post_nav(); ?>
20                                 <?php comments_template(); ?>
21
22                         <?php endwhile; ?>
23
24                 </div><!-- #content -->
25         </div><!-- #primary -->
26
27 <?php get_sidebar(); ?>
28 <?php get_footer(); ?>