2011-04-20 17:46:33 -04:00
|
|
|
<?php
|
|
|
|
/**
|
2011-05-02 17:04:44 -04:00
|
|
|
* The Template for displaying all single posts.
|
|
|
|
*
|
2011-04-20 17:46:33 -04:00
|
|
|
* @package WordPress
|
2011-05-18 15:06:09 -04:00
|
|
|
* @subpackage Twenty_Eleven
|
2011-05-02 17:04:44 -04:00
|
|
|
* @since Twenty Eleven 1.0
|
2011-04-20 17:46:33 -04:00
|
|
|
*/
|
|
|
|
|
|
|
|
get_header(); ?>
|
|
|
|
|
|
|
|
<div id="primary">
|
|
|
|
<div id="content" role="main">
|
|
|
|
|
2011-06-10 19:01:16 -04:00
|
|
|
<?php while ( have_posts() ) : the_post(); ?>
|
2011-04-20 17:46:33 -04:00
|
|
|
|
|
|
|
<nav id="nav-single">
|
2011-06-23 19:03:46 -04:00
|
|
|
<h3 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h3>
|
2011-06-27 18:02:29 -04:00
|
|
|
<span class="nav-previous"><?php previous_post_link( '%link', __( '<span class="meta-nav">←</span> Previous', 'twentyeleven' ) ); ?></span>
|
|
|
|
<span class="nav-next"><?php next_post_link( '%link', __( 'Next <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?></span>
|
2011-04-20 17:46:33 -04:00
|
|
|
</nav><!-- #nav-single -->
|
|
|
|
|
2012-08-09 14:31:02 -04:00
|
|
|
<?php get_template_part( 'content-single', get_post_format() ); ?>
|
2011-04-20 17:46:33 -04:00
|
|
|
|
|
|
|
<?php comments_template( '', true ); ?>
|
|
|
|
|
|
|
|
<?php endwhile; // end of the loop. ?>
|
|
|
|
|
|
|
|
</div><!-- #content -->
|
|
|
|
</div><!-- #primary -->
|
|
|
|
|
|
|
|
<?php get_footer(); ?>
|