• Resolved Marius

    (@mmichtus)


    can you do something with the pagination display?
    some like 1 2 3…10 11
    because like is now:
    if i dispaly 10 jobs and i have 50 pages i get some like this.
    and this is a very bad user experience.
    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author PressTigers

    (@presstigers)

    Hello Marius,

    Sorry for the inconvenience.

    Please go to the following file and replace the code at line # 27:
    simple-job-board/templates/listing/job-pagination.php

    
    // Pagination Arguments
    $pagination_args = array(
        'base' => @add_query_arg('page', '%#%'),
        'format' => '?paged=%#%',
        'total' => $job_query->max_num_pages,
        'current' => $current,
        'show_all' => TRUE,
        'next_text' => '<i class="fa fa-angle-right"></i>',
        'prev_text' => '<i class="fa fa-angle-left"></i>',
        'type' => 'array',
    );
    

    with

    
    // Pagination Arguments
    $pagination_args = array(
        'base' => @add_query_arg('page', '%#%'),
        'format' => '?paged=%#%',
        'total' => $job_query->max_num_pages,
        'current' => $current,
        'show_all' => FALSE,
        'next_text' => '<i class="fa fa-angle-right"></i>',
        'prev_text' => '<i class="fa fa-angle-left"></i>',
     'end_size' => 4,
     'mid_size' => 4,
        'type' => 'array',
    );
    

    Let us know if it resolves your issue or not. We will also resolve this issue in our next release.

    Thanks & Regards,
    PressTigers

    Thread Starter Marius

    (@mmichtus)

    thanks, works great

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

The topic ‘pagination settings’ is closed to new replies.