page.php 740 B

123456789101112131415161718192021222324252627282930313233343536
  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 Seedlet
  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-page' );
  19. // If comments are open or we have at least one comment, load up the comment template.
  20. if ( comments_open() || get_comments_number() ) {
  21. comments_template();
  22. }
  23. endwhile; // End of the loop.
  24. ?>
  25. </main><!-- #main -->
  26. </section><!-- #primary -->
  27. <?php
  28. get_footer();