single-jetpack-portfolio.php 670 B

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