File "content-grid.php"

Full Path: /home/u109295205/domains/ala-tv.com/public_html/wp-content/themes/newsair/template-parts/content-grid.php
File size: 880 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
/**
 * The template for displaying the content.
 * @package Newsair
 */
?>
<div id="grid" class="row" >
        <?php
        while(have_posts()){ the_post(); ?>
                <?php get_template_part('sections/content','dataGrid'); ?>
        <?php } ?>
        <div class="col-md-12 text-center d-md-flex justify-content-center">
        <?php 
                //Previous / next page navigation
                $prev_text =  (is_rtl()) ? "right" : "left";
                $next_text =  (is_rtl()) ? "left" : "right";
                
                the_posts_pagination( array(
                        'prev_text'          => '<i class="fas fa-angle-'.$prev_text.'"></i>',
                        'next_text'          => '<i class="fas fa-angle-'.$next_text.'"></i>',
                        ) 
                );
        ?>
        </div>
</div>