<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="catelist">
    	<?php
		if ( has_post_thumbnail() ){ ?>
			<?php $thumbID = get_post_thumbnail_id($post->ID); ?>
        <?php } ?>

        <div class="boxc"><?php echo mb_strimwidth(strip_tags(apply_filters('the_content', $post->post_content)), 0, 110,"…"); ?></div>  
    </div>
 <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
<?php else : ?>
<?php endif; ?>
