<?php
/**
 * @package forexn
 */
?>
    <div class="blog-sm">
        <?php if(has_post_thumbnail()) : ?>
        <div class="featured-img">
            <?php the_post_thumbnail(); ?>
        </div>
        <?php endif; ?>
        <?php if(has_post_thumbnail()) : ?>
        <div class="blog-content">
        <?php else : ?>
        <div class="blog-img">
        <?php endif; ?>
            <ul class="blog-meta">
                <?php
                  forexn_posted_by();
                  forexn_posted_on();
                  forexn_comment_on();
                ?>
            </ul>
            <h4 class="blog-head">
                <a href="<?php the_permalink(); ?>"> <?php the_title(); ?></a>
            </h4>
            <?php the_excerpt(); ?>
        </div>
        <a href="<?php the_permalink(); ?>" class="read-more"><?php esc_html_e( 'Read more', 'forexn' ); ?></a>
    </div>    