sakura/single.php

28 lines
718 B
PHP
Raw Normal View History

2018-05-26 18:59:29 +08:00
<?php
/**
* The template for displaying all single posts.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
*
* @package Akina
*/
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php
while ( have_posts() ) : the_post();
get_template_part( 'tpl/content', 'single' );
get_template_part('layouts/sidebox');
get_template_part('layouts/post','nextprev');
if(akina_option('show_authorprofile')){
get_template_part('layouts/authorprofile');
}
endwhile; // End of the loop.
?>
</main><!-- #main -->
</div><!-- #primary -->
<?php
get_sidebar();
get_footer();