2011-04-20 23:46:33 +02:00
|
|
|
<?php
|
|
|
|
/**
|
2011-05-02 23:04:44 +02:00
|
|
|
* The Template for displaying all single posts.
|
|
|
|
*
|
2011-04-20 23:46:33 +02:00
|
|
|
* @package WordPress
|
2011-05-18 21:06:09 +02:00
|
|
|
* @subpackage Twenty_Eleven
|
2011-05-02 23:04:44 +02:00
|
|
|
* @since Twenty Eleven 1.0
|
2011-04-20 23:46:33 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
get_header(); ?>
|
|
|
|
|
|
|
|
<div id="primary">
|
|
|
|
<div id="content" role="main">
|
|
|
|
|
|
|
|
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
|
|
|
|
|
|
|
|
<nav id="nav-single">
|
|
|
|
<h1 class="section-heading"><?php _e( 'Post navigation', 'toolbox' ); ?></h1>
|
|
|
|
<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 twentyeleven_content_nav( 'nav-below' ); ?>
|
|
|
|
|
|
|
|
<?php comments_template( '', true ); ?>
|
|
|
|
|
|
|
|
<?php endwhile; // end of the loop. ?>
|
|
|
|
|
|
|
|
</div><!-- #content -->
|
|
|
|
</div><!-- #primary -->
|
|
|
|
|
|
|
|
<?php get_footer(); ?>
|