• Resolved syed ala

    (@syedji)


    I have added the following code to job-pagination.php, but still the pagination links is redirecting me to same page

    <?php
    /**
    * Pagination - Show numbered pagination for catalog pages.
    */
    if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    if ( $max_num_pages <= 1 ) {
    return;
    }
    ?>
    <nav class="job-manager-pagination">
    <?php
    echo paginate_links( apply_filters( 'job_manager_pagination_args', array(
    'base' => esc_url_raw( str_replace( 999999999, '%#%', get_pagenum_link( 999999999, false ) ) ),
    'format' => '',
    'format' => '',
    'current' => max( 1, get_query_var('paged') ),
    'total' => $max_num_pages,
    'prev_text' => '←',
    'next_text' => '→',
    'type' => 'list',
    'end_size' => 3,
    'mid_size' => 3
    ) ) );
    ?>
    </nav>

    please help me to get out of it.
    thanks in advance.

    https://wordpress.org/plugins/wp-job-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘pagination redirecting to same page’ is closed to new replies.