<?php
/**
 * Template part for displaying Single Posts
 *
 * @subpackage Cosmetic Shop
 * @since 1.0
 * @version 1.4
 */
?>

<article id="post-<?php the_ID(); ?>" <?php post_class('inner-service'); ?>>
  <div class="single-post">
    <div class="article_content">
      <div class="article-text">
        <h3><?php the_title(); ?></h3>
        <?php if(has_post_thumbnail()) { ?>
          <?php the_post_thumbnail(); ?>  
        <?php }?>
        <div class="metabox"> 
          <span class="entry-date"><i class="fas fa-calendar-alt"></i><?php echo esc_html( get_the_date()); ?></span>
          <span class="entry-author text-right"><i class="fas fa-user"></i><?php the_author(); ?></span>
        </div>
        <p><?php the_content(); ?></p>
        <div class="single-post-tags mt-3"><?php the_tags(); ?></div>
      </div>
      <div class="clearfix"></div>
    </div>
  </div>
</article>