<section class="side-art b-a b-r-4 ceo-background-default ceo-margin-bottom">
	<div class="b-b ceo-padding-small ceo-clearfix  ceo-flex ceo-flex-middle">
		<span class="side-title <?php if(_ceo('side_title_style') == true): ?>side-title-style<?php endif; ?> ceo-h5 ceo-float-left ceo-margin-remove ceo-position-relative"><?php echo _ceo('side_art_title'); ?></span>
		<span class="home-time ceo-float-right ceo-display-inline-block ceo-text-muted ceo-text-small ceo-flex-1 ceo-text-right"></span>
	</div>
	<ul class="ceo-list ceo-padding-remove ceo-overflow-auto ceo-sidebar-wenzhang">
		<?php
		$side_art_num = _ceo('side_art_num');
		$cat = get_the_category();
		foreach($cat as $key=>$category){
			$catid = $category->term_id;
		}
		$args = array('orderby' => 'rand','showposts' => $side_art_num ,'cat' => $catid );
		$query_posts = new WP_Query();
		$query_posts->query($args);
		while ($query_posts->have_posts()) : $query_posts->the_post();
		?>

		<li class="ceo-padding-small ceo-margin-remove-top ">
			<div class="b-b ceo-padding-small ceo-padding-remove-top ceo-padding-wenzhang-top ceo-padding-remove-left ceo-padding-remove-right">
				<div ceo-grid class="ceo-grid-small">
					<div class="ceo-width-1-3">
						<a href="<?php the_permalink(); ?>" class="side-art-cover b-r-4 ceo-display-block ceo-overflow-hidden">
							<img src="<?php echo post_thumbnail_src(); ?>" alt="<?php the_title(); ?>" />
						</a>
					</div>
					<div class="ceo-width-2-3">
						<div class="ceo-card">
							<p class="ceo-margin-small-bottom">
								<a href="<?php the_permalink(); ?>" target="_blank" class="ceo-display-block ceo-text-truncate"><?php the_title();?></a>
							</p>
							<div class="ceo-text-meta ceo-margin-small-top ceo-flex">
								<span class="ceo-margin-right"><i class="iconfont icon-rili"></i><?php the_time('Y-m-d') ?></span>
								<span class="ceo-margin-right ceo-flex ceo-flex-middle"><i class="iconfont iconfont icon-yanjing"></i><?php post_views('', ''); ?></span>
							</div>
						</div>
					</div>
				</div>
			</div>
		</li>
		<?php endwhile;?>
		<?php wp_reset_query(); ?>

	</ul>
</section>
<!-- 侧边栏热门文章模块 -->
	