<ul class="clearfix">
    <?php if ( have_posts() ) : ?>
    <?php while ( have_posts() ) : the_post();
    $post_class = 'entry-item clearfix';
    if ( !has_post_thumbnail()){
        $post_class .= ' blog-no-thumbnail';
    }
    ?>
    <li>
        <article id="post-<?php the_ID(); ?>" <?php post_class($post_class); ?>>
            <?php if ( has_post_thumbnail()) : ?>
            <div class="entry-thumb">
                <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_post_thumbnail('news-maxx-lite-loop-blog', array('class' => 'img-responsive')); ?></a>
            </div>
        <?php endif; ?>
        <!-- entry-thumb -->

        <div class="entry-content">
            <header>
                <h6 class="entry-title" itemscope="" itemtype="http://schema.org/Event">
                    <a itemprop="name" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a>
                </h6>
                <span class="entry-date pull-left"><i class="fa fa-pencil-square-o"></i><?php echo the_time(get_option('date_format')); ?></span>
                <span class="entry-meta pull-left">&nbsp;/&nbsp;</span>
                <span class="entry-author pull-left"><?php _e('By ', 'news-maxx-lite');?><?php the_author_posts_link(); ?></span>
            </header>
            <p><?php the_excerpt(); ?></p>
            <i class="fa fa-external-link search-icon"></i>
            <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" class="more-link"><span><?php _e('Read more', 'news-maxx-lite'); ?></span></a>
        </div>
        <!-- entry-content -->

    </article>
    <!-- entry-item -->
</li>
<?php endwhile; ?>

<?php else: ?>
    <blockquote class="kopa-blockquote-1">Nothing Found...</blockquote>
<?php endif; ?>
</ul>
<div class="pagination clearfix">
    <?php get_template_part('module/template', 'pagination'); ?>
</div>



