 <?php 
global $kloud_loop;
$num_comments = get_comments_number(); 
?>   


<div class="post-item layout-2 col-lg-4 col-md-4 col-sm-6 col-xs-12">      
<div class="bog-image">
    <a href="<?php the_permalink() ?>">
        <?php echo get_the_post_thumbnail( $post->ID, 'jws-imge-related_post' ); ?>
    </a>
    <div class="link_content">
        <a href="<?php the_permalink(); ?>"><span class="ion-ios-arrow-thin-right"></span></a>
    </div>
</div>
<div class="content-blog">
    <div class="content-inner">
        <div class="blog-innfo"> <span class="child"><?php  echo get_the_date(); ?></span></span>
        </div>
        <div class="title">
            <h6><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h6>
        </div>
        <div class="blog-excrept">
            <?php the_excerpt(); ?>
        </div>
        <div class="blog-bottom display_flex">
            <div class="comment"><span class="ion-ios-chatbubble-outline"></span>
                <?php echo wp_kses_post($num_comments)?>
            </div>
            <div class="like">
                <?php zilla_likes(); ?>
            </div>
            <div class="author"><span class="child"><?php esc_html_e('By ', 'kloud'); ?></span></span>
                <?php the_author() ?>
            </div>
            <div class="share">
                <div class="action_ahare">
                    <span class="ion-android-share-alt"></span>
                </div>
                <?php echo jwstheme_social(); ?>
            </div>
        </div>

    </div>
</div>
</div>  
