<?php
 /* List */
 defined( 'ABSPATH' ) || exit; // Exit if accessed directly
 $tag = (is_category() || is_singular() ) ? 'h3' : 'h2';
?>
<div class="col-12 toinfinite">
  <div class="kanews-post-item kanews-post-big-item kanews-post-big">

    <?php if($post->post_type != 'columist'): ?>
      <?php kanews_post_thumbnail('kanews-manset-3', 'kanews-post-thumb', true); ?>
    <?php endif; ?>
    <div class="kanews-post-content">
      <?php echo kanews_primary_category($post->ID); ?>
      <?php echo kanews_post_date('post', 'span'); ?>
      <?php the_title( sprintf( '<'.$tag.' class="kanews-post-headline"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></'.$tag.'>' ); ?>
      <?php $limit = kan_is_mobile() ? 10 : 40; ?>
      <?php echo wpautop( wp_trim_words( strip_shortcodes(get_the_content($post->ID)), $limit, '...' ) ); ?>
      <?php echo kanews_read_more(); ?>
    </div>
  </div>
</div>