Current File : /home/mdkeenpw/www/wp-content/themes/logistik/templates/pagination.php
<?php
/**
 * @Packge     : Logistik
 * @Version    : 1.0
 * @Author     : Themeholy
 * @Author URI : https://themeholy.com/
 *
 */
 
    // Block direct access
    if( !defined( 'ABSPATH' ) ){
        exit();
    }

    if( !empty( logistik_pagination() ) ) :
?>
<!-- Post Pagination -->
<div class="themeholy-pagination">
    <ul>
        <?php
            $prev   = '<i class="fa-regular fa-angles-left"></i>';
            $next   = '<i class="fa-regular fa-angles-right"></i>';
            // previous
            if( get_previous_posts_link() ){
                echo '<li>';
                previous_posts_link( $prev );
                echo '</li>';
            }

            echo logistik_pagination();

            // next
            if( get_next_posts_link() ){
                echo '<li>';
                next_posts_link( $next );
                echo '</li>';
            }
        ?>
    </ul>
</div>
<!-- End of Post Pagination -->
<?php endif;