<?php
global $hasium_options;
?>
<!--====== POPULAR POSTS PART START ======-->

<section class="popular-posts pb-55">
    <div class="container">
            <?php
            // loop content with blog wrapper
            if ( have_posts() ) :
            ?>
               <div class="row">
                <?php
                while ( have_posts() ) : the_post();
                    get_template_part( 'template-parts/post/layout', '4' );
                endwhile; /* End Loop */
                ?>
               </div> <!-- row -->
                <?php
                // show pagination.
                get_template_part( 'template-parts/pagination/pagination' );
            else:
                get_template_part( 'template-parts/content', 'none' );
            endif;
            ?>
    </div>
</section>

<!--====== POPULAR POSTS PART ENDS ======-->
