<?php
/**
 * Template part for displaying posts
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package benqu
 */

?>
<article id="post-<?php the_ID(); ?>" <?php post_class('pfy-default-post-ly'); ?>>    
    <div class="pfy-post-item">
        <?php if(has_post_thumbnail()):?>
        <div class="pfy-post-thumb pfy-img-commn-style">
            <a class="post-thumb" href="<?php the_permalink();?>"><?php the_post_thumbnail( 'benqu-img-size5' );?></a>
                <?php benqu_category_badge();?>
        </div>
        <?php endif;?>
        <?php get_template_part('template-parts/common/post-summery'); ?>
    </div>
</article><!-- #post-<?php the_ID(); ?> -->
