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

    (@richardgabriel)

    Hey CJ!

    Are you able to send me the template that you’re using? There is a chance that the pagination links are missing from the template, depending on what template you’re using (its not super obvious how to add them, I think.)

    I think you may also have opened a ticket with us via our support desk — if so, go ahead and send the template along that direction (I hope I’m not terribly late in replying to you!)

    All the best,
    Richard

    Plugin Author richardgabriel

    (@richardgabriel)

    For anyone else reading, the issue was some missing Pagination code inside the staff list template.

    The following code needed to be placed between the endwhile; and the endif; inside the staff-list template:

    <?php if ( !empty($staff_loop->query_vars['paged']) ): ?>
    <div class="staff-directory-pagination">
    	<?php
    	echo paginate_links( array(
    		'base' => $pagination_link_template,
    		'format' => '?staff_page=%#%',
    		'current' => max( 1, $current_page ),
    		'total' => $staff_loop->max_num_pages
    	) );
    	?>
    </div>
    <?php endif; // pagination ?>

    All the best,
    Richard

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘per_page not adding pagination’ is closed to new replies.