<?php
/**
 * The template part for displaying standard post content
 *
 * @package RT Ecommerce 
 * @subpackage rt_ecommerce
 * @since RT Ecommerce 1.0
 */
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  <div class="row outer_post ml-0 mr-0">
      <?php 
        if(has_post_thumbnail()) { ?>
        <div class="post_thumb col-md-5">
          <?php the_post_thumbnail();  ?>
        </div>
      <?php } ?>
      <div class="new-text <?php 
          if(has_post_thumbnail()) { ?>col-md-7"<?php } else { ?>col-md-12"<?php } ?>>
          <div class="post_content">
              <h4><?php the_title();?></h4>
              <div class="metabox">
                <span class="entry-date"><?php the_date(); ?></span>
                <span class="entry-author"><?php the_author(); ?></span>
                <span class="entry-comments"> <?php comments_number( __('no responses','rt-ecommerce'), __('one response','rt-ecommerce'), __('% responses','rt-ecommerce') ); ?> </span>
              </div>
              <?php the_excerpt(); ?>
              <a href="<?php echo esc_url( get_permalink() );?>" class="btn_read_more mt-4" title="<?php esc_attr_e( 'Read More', 'rt-ecommerce' ); ?>"><?php esc_html_e('Read More','rt-ecommerce'); ?></a>
          </div>
      </div>
      <div class="clearfix"></div> 
  </div>
</article>