Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
single.php 703 Bytes
Copy Edit Web IDE Raw Blame History
spirit authored 2019-11-21 16:16 . disable get_sidebar()
<?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();