2011-04-20 23:46:33 +02:00
|
|
|
<?php
|
|
|
|
/**
|
2013-09-25 18:50:11 +02:00
|
|
|
* Template for displaying all single posts
|
2011-05-02 23:04:44 +02:00
|
|
|
*
|
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">
|
|
|
|
|
2011-06-11 01:01:16 +02:00
|
|
|
<?php while ( have_posts() ) : the_post(); ?>
|
2011-04-20 23:46:33 +02:00
|
|
|
|
|
|
|
<nav id="nav-single">
|
2011-06-24 01:03:46 +02:00
|
|
|
<h3 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h3>
|
2011-06-28 00:02:29 +02: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 23:46:33 +02:00
|
|
|
</nav><!-- #nav-single -->
|
|
|
|
|
2012-08-09 20:31:02 +02:00
|
|
|
<?php get_template_part( 'content-single', get_post_format() ); ?>
|
2011-04-20 23:46:33 +02:00
|
|
|
|
|
|
|
<?php comments_template( '', true ); ?>
|
|
|
|
|
|
|
|
<?php endwhile; // end of the loop. ?>
|
|
|
|
|
|
|
|
</div><!-- #content -->
|
|
|
|
</div><!-- #primary -->
|
|
|
|
|
|
|
|
<?php get_footer(); ?>
|