mirror of
https://github.com/mashirozx/sakura.git
synced 2024-11-21 14:28:13 +08:00
27 lines
703 B
PHP
27 lines
703 B
PHP
<?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_footer();
|