2011-04-20 17:46:33 -04:00
|
|
|
<?php
|
|
|
|
/**
|
2013-09-25 12:50:11 -04:00
|
|
|
* Template for displaying all single posts
|
2011-05-02 17:04:44 -04:00
|
|
|
*
|
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">
|
|
|
|
|
2017-11-30 18:11:00 -05:00
|
|
|
<?php
|
|
|
|
while ( have_posts() ) :
|
|
|
|
the_post();
|
2018-08-16 21:51:36 -04:00
|
|
|
?>
|
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 ); ?>
|
|
|
|
|
2020-01-28 19:45:18 -05:00
|
|
|
<?php endwhile; // End of the loop. ?>
|
2011-04-20 17:46:33 -04:00
|
|
|
|
|
|
|
</div><!-- #content -->
|
|
|
|
</div><!-- #primary -->
|
|
|
|
|
2017-11-30 18:11:00 -05:00
|
|
|
<?php get_footer(); ?>
|