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-04-20 17:46:33 -04:00
|
|
|
<span class="nav-previous"><?php previous_post_link( '%link', __( '← Previous', 'twentyeleven' ) ); ?></span>
|
|
|
|
<span class="nav-next"><?php next_post_link( '%link', __( 'Next →', 'twentyeleven' ) ); ?></span>
|
|
|
|
</nav><!-- #nav-single -->
|
|
|
|
|
|
|
|
<?php get_template_part( 'content', 'single' ); ?>
|
|
|
|
|
|
|
|
<?php comments_template( '', true ); ?>
|
|
|
|
|
|
|
|
<?php endwhile; // end of the loop. ?>
|
|
|
|
|
|
|
|
</div><!-- #content -->
|
|
|
|
</div><!-- #primary -->
|
|
|
|
|
|
|
|
<?php get_footer(); ?>
|