<?php
/**
 * Template part for displaying posts
 *
 * @subpackage Wood House Construction
 * @since 1.0
 * @version 1.4
 */
?>

<div class="col-lg-4 col-md-4">
	<article id="post-<?php the_ID(); ?>" <?php post_class('inner-service grid-layout'); ?>>
    <?php if ( has_post_thumbnail() ) : ?>
      <a href="<?php the_permalink(); ?>" class="post-thumbnail">
        <?php the_post_thumbnail(); ?>
      </a>
    <?php endif; ?>
    <div class="article_content">
      <h3>
        <a href="<?php the_permalink(); ?>">
          <?php the_title(); ?>
        </a>
      </h3>
      <p class="mb-0">
        <?php $luzuk_wood_house_construction_excerpt = get_the_excerpt(); echo esc_html( luzuk_wood_house_construction_string_limit_words( $luzuk_wood_house_construction_excerpt,30 ) ); ?> <?php esc_html_e('...', 'wood-house-construction'); ?>
        <a href="<?php the_permalink(); ?>" class="read-btn"><?php esc_html_e('Read More', 'wood-house-construction'); ?><span class="screen-reader-text"><?php esc_html_e('Read More', 'wood-house-construction'); ?></span></a>
      </p>
      <div class="clearfix"></div>
    </div>
    <div class="metabox"> 
      <span class="entry-comments"><i class="fas fa-comments"></i><?php comments_number( esc_html__('0 Comments','wood-house-construction'), esc_html__('0 Comments','wood-house-construction'), esc_html__('% Comments','wood-house-construction') ); ?></span>
      <span class="entry-date"><span><i class="fas fa-calendar-alt"></i><?php echo esc_html( get_the_date()); ?></span></span>
    </div>
  </article>
</div>