HEX
Server: nginx/1.22.1
System: Linux VM-4-16-centos 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User: www (1001)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: /www/wwwroot/wen.haoynn.cn/wp-content/themes/jizhi-chlid/single.php
<?php
	$sidebar = cao_sidebar();
	$column_classes = cao_column_classes( $sidebar );
	get_header();
?>
	<section class="article-focusbox bgimg-fixed lazyloaded" data-bg="/wp-content/themes/jizhi-chlid/images/1583272560-20459854662b213.png" style="background-image: url(&quot;/wp-content/themes/jizhi-chlid/images/1583272560-20459854662b213.png&quot;);">
	<div class="container">
	    <header class="article-header">
	        <h1 class="article-title"><?php echo get_the_title(); ?></h1>
	        <div class="article-meta">
	            <span class="item"><i class="fa fa-clock-o"></i>  <?php echo date("Y-m-d",strtotime($post->post_date));?></span>
	            <span class="item"><i class="fa fa-user"></i>  <?php echo get_userdata(get_post()->post_author)->nickname;?></span>
				<span class="item"><i class="fa fa-navicon"></i>   <?php $category = get_the_category(); echo $category[0]->cat_name; ?></span>
				<span class="item"><i class="fa fa-eye"></i>   关注<?php echo _get_post_views() ?>次</span>
				<!-- <span class="item"><a target="_blank" title="点击查看" rel="external nofollow" href="https://www.baidu.com/s?wd=<?php echo get_the_title(); ?>_网博士网络"><i class="fa fa-paw"></i>  已收录</a></span> -->
	        </div>
	    </header>
    </div>
</section>
<div class="dabolang mobile-hide"> 
		<div id="dabolangl1" class="dabolangl"></div> 
		<div id="dabolangl2" class="dabolangl"></div> 
		<div id="dabolangl3" class="dabolangl"></div>
	</div>
<div class="container">

	<div class="breadcrumbs">
	<?php echo dimox_breadcrumbs(); ?>
	</div>
	<div class="row">
		<div class="<?php echo esc_attr( $column_classes[0] ); ?>">
			<div class="content-area">
				<main class="site-main">
					<?php while ( have_posts() ) : the_post();
						get_template_part( 'parts/template-parts/content', 'single' );
					endwhile; ?>
				</main>
			</div>
		</div>
		<?php if ( $sidebar != 'none' ) : ?>
			<div class="<?php echo esc_attr( $column_classes[1] ); ?>">
				<?php get_sidebar(); ?>
			</div>
		<?php endif; ?>
	</div>
</div>

<?php if (_cao('disable_related_posts','1') && _cao('related_posts_style','grid')=='fullgrid') {
	get_template_part( 'parts/related-posts' );
}?>

<?php get_footer(); ?>