<?php buildark_bunch_setPostViews( get_the_ID() ); ?>
<div class="inner-box">
    <?php if(has_post_thumbnail()):?>
    <div class="image">
        <a href="<?php echo esc_url(get_permalink(get_the_id()));?>">
        	<?php the_post_thumbnail( 'buildarkx1170x430', array( 'class' => 'img-responsive' ) ); ?>
        </a>
    </div>
    <?php endif;?>
    <div class="lower-content <?php if(! has_post_thumbnail() == true) echo 'pt-0';?>">
        <div class="upper-box clearfix">
            <div class="posted-date"><?php echo get_the_date(''); ?></div>
            <ul class="post-meta">
                <li><?php esc_html_e( 'By:', 'buildark' ); ?> <?php the_author();?></li>
                <li><?php comments_number( wp_kses_post(__('Comment: 0' , 'buildark')), wp_kses_post(__('Comment: 1' , 'buildark')), wp_kses_post(__('Comments: %' , 'buildark'))); ?></li>
            </ul>
        </div>
        <div class="lower-box">
            <h3><a href="<?php echo esc_url(get_permalink(get_the_id()));?>"><?php the_title();?></a></h3>
            <div class="text"><?php the_excerpt(); ?></div>
            <a href="<?php echo esc_url(get_permalink(get_the_id()));?>" class="theme-btn btn-style-one read-more"><?php esc_html_e( 'Read More', 'buildark' ); ?></a>
        </div>
    </div>
</div>