File: /www/wwwroot/www.213n.cn/wp-content/themes/rk-blogger/single.php
<?php
/**
* The template for displaying all single posts and attachments
*
* Author: wbolt team
* Author URI: https://www.wbolt.com
*/
if (is_singular() && comments_open() && get_option('thread_comments')) {
wp_enqueue_script('comment-reply');
}
get_header();
wb_breadcrumbs(false, false, 'pw');
?>
<div <?php post_class('container container-single pw'); ?>>
<div class="main main-detail">
<?php
while (have_posts()) : the_post();
get_template_part('template-parts/content', 'single');
?>
<?php wp_link_pages(); ?>
<section class="panel-inner panel-tags">
<h3 class="sc-title">标签</h3>
<div class="tag-items">
<?php the_tags('', '', ''); ?>
</div>
</section>
<?php
echo get_wb_related_posts();
if (wb_dynamic_sidebar_switch() && is_active_sidebar('sidebar-content-bottom')) {
dynamic_sidebar('sidebar-content-bottom');
}
if (comments_open() || get_comments_number()) {
comments_template();
}
endwhile;
?>
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>