• I am having an issue with the pagination on the Job Listings page.

    /jobs/

    Here is my template (snippet)

    [if_job_page_count]
    <div class="job-nav">
    <div class="this">Jobs [job_page_minimum]-[job_page_maximum] of [job_total]</div>
    </div>
    <div class="job-nav">
    <div class="previous">[job_page_previous_link]< Previous Job Listings | Page [job_page_previous_number][/job_page_previous_link]</div>
    	<div class="next">[job_page_next_link]Next Job Listings | Page  [job_page_next_number] > [/job_page_next_link]</div>
    </div>
    [/if_job_page_count]

    The issue:

    On the first page of the Job Listings it displays:

    Jobs -19-0 of 43
    Next Job Listings | Page 1 >

    Clicking the link goes to:

    /jobs/page/2/

    which displays things correctly.

    Jobs 21-40 of 43
    < Previous Job Listings | Page 1
    Next Job Listings | Page 3 >

    I implemented a fix to make the link work to page 2

    if ($page < 1) {
    $page = 1;
    }

    in frontend-shortcodes.php which worked…

    but now the issue is obviously the display of the Jobs -19-0 of 43 line on page 1.

    Any thoughts?

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Job Manager] Job Listings Pagination’ is closed to new replies.