26 Star 328 Fork 56

Mashiro / Sakura

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
single.php 703 Bytes
一键复制 编辑 原始数据 按行查看 历史
spirit 提交于 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();
PHP
1
https://gitee.com/mashirozx/Sakura.git
git@gitee.com:mashirozx/Sakura.git
mashirozx
Sakura
Sakura
3.x

搜索帮助