single.php 571 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * The template for displaying all single posts
  4. *
  5. * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
  6. *
  7. * @package Blank Canvas
  8. * @since 1.0.0
  9. */
  10. get_header();
  11. ?>
  12. <section id="primary" class="content-area">
  13. <main id="main" class="site-main" role="main">
  14. <?php
  15. /* Start the Loop */
  16. while ( have_posts() ) :
  17. the_post();
  18. get_template_part( 'template-parts/content/content-singular' );
  19. endwhile; // End of the loop.
  20. ?>
  21. </main><!-- #main -->
  22. </section><!-- #primary -->
  23. <?php
  24. get_footer();