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

<?php
    $post = get_post();
    $post_format = get_post_format($post) ? : 'standard';
?>

<div class="col-12 col-md-6 mb-4 post-grid-two__item <?php echo 'post_' . esc_attr($post_format); ?>">
    <?php get_template_part( 'template-parts/content', 'grid-content' ); ?>
</div>
