- This topic has 3 replies, 2 voices, and was last updated 6 years, 5 months ago by .
Viewing 4 posts – 1 through 4 (of 4 total)
Viewing 4 posts – 1 through 4 (of 4 total)
Posted
by
Tagged: pagination
Are you using the Shortcode method to display the results?
If so, follow this guide to customizing (or did you already?):
https://searchandfilter.com/documentation/search-results/using-a-shortcode/#customising-the-results
See this code line:
Page <?php echo $query->query['paged']; ?> of <?php echo $query->max_num_pages; ?><br />
Replace that with:
<?php if ($query->max_num_pages > 1 } ?>
Page <?php echo $query->query['paged']; ?> of <?php echo $query->max_num_pages; ?><br />
<?php } ?>
I think that would work.