<?php
$data = '';
if (has_post_thumbnail()) {
    $data .=    '<div class="entry-thumb image-hover2">
                    <a href="'. esc_url(get_the_permalink()) .'">'.get_the_post_thumbnail(get_the_ID(),'full').'</a>                
                </div>';
}
?>
<li class="post-item">
    <article class="entry">
        <div class="entry-ci entry-pen">
            <?php if(!empty($data)) echo balanceTags($data);?>
            <div class="contentRight">
                <h3 class="entry-title">
                    <a href="<?php echo esc_url(get_the_permalink()); ?>">
                        <?php the_title()?>
                        <?php echo (is_sticky()) ? '<i class="fa fa-thumb-tack"></i>':''?>
                    </a>
                </h3>
                <?php sv_display_metabox();?>
                <div class="entry-excerpt">
                    <?php echo get_the_excerpt(); ?>
                </div>
                <div class="entry-more">
                    <a class="button" href="<?php echo esc_url(get_the_permalink()); ?>"><?php esc_html_e('Read more','megastore')?></a>
                </div>
            </div>
        </div>
    </article>
</li>