<div class="ceo-grid-medium" ceo-grid>
    <?php 
    $width_col=4;
    $category_this = get_queried_object();
    $category_id_this=$category_this->term_id;
    $is_enable_5_col = get_term_meta($category_id_this, 'is_enable_5_col', 'true');
    if($is_enable_5_col){
        $width_col=5;
    }
    ?>
	<?php if(have_posts()) : while (have_posts()) : the_post(); ?>
    <?php ?>
	<div class="ajax-item ceo-width-1-1@s ceo-width-1-2 ceo-width-1-<?php echo $width_col; ?>@xl">
		<?php get_template_part( 'template-parts/loop/loop', 'edu' ); ?>
	</div>
	<?php endwhile; else: ?>
		
	<?php get_template_part( 'template-parts/ad/category', 'footer_ad' ); ?>
	<div class="ceo-width-1-1">
		<div class="ceo-alert-primary ceo-width-1-2 ceo-container" ceo-alert>
			<a class="ceo-alert-close" ceo-close></a>
			<p class="ceo-padding-small ceo-text-center">暂无内容！</p>
		</div>
	</div>
	<?php endif; ?>
</div>
<div class="fenye ceo-text-center ceo-text-small ceo-margin-large-top ceo-margin-large-bottom">
	<?php fenye(); ?>
</div>
