single.php 576 B

1234567891011121314151617181920212223
  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 Akina
  8. */
  9. get_header(); ?>
  10. <div id="primary" class="content-area">
  11. <main id="main" class="site-main" role="main">
  12. <?php
  13. while ( have_posts() ) : the_post();
  14. get_template_part( 'tpl/content', 'single' );
  15. get_template_part('layouts/sidebox');
  16. get_template_part('layouts/post','nextprev');
  17. endwhile; // End of the loop.
  18. ?>
  19. </main><!-- #main -->
  20. </div><!-- #primary -->
  21. <?php
  22. get_footer();