1. <?php
  2. /**
  3. * The Template for displaying all single posts.
  4. *
  5. * @package F2
  6. * @since F2 2.0
  7. */
  8. get_header(); ?>
  9. <div id="primary" class="content-area">
  10. <div id="content" class="site-content" role="main">
  11. <?php while ( have_posts() ) : the_post(); ?>
  12. <?php get_template_part( 'content', 'single' ); ?>
  13. <?php
  14. // If comments are open or we have at least one comment, load up the comment template
  15. if ( comments_open() || '0' != get_comments_number() )
  16. comments_template( '', true );
  17. ?>
  18. <?php f2_content_nav( 'nav-below' ); ?>
  19. <?php endwhile; // end of the loop. ?>
  20. </div><!-- #content .site-content -->
  21. </div><!-- #primary .content-area -->
  22. <?php get_sidebar(); ?>
  23. <?php get_footer(); ?>