Hi,
How can I show less page links when using Ditto pagination?
Now it shows:
1, 2, 3, 4, 5, 6, 7, 8 Next
But I want it to show no more than 5 page links at a time, like:
1, 2, 3, 4, 5 Next
Use &total=`` in your Ditto call to limit the total number of posts that will be displayed.
Thank you, that will work for now. But, is there a way to make it so it shows 5 links, then when you get to the 5th link, it shows the next 5?
Ex:
1, 2, 3, 4, 5 NEXT
then, once you hit page 5:
PREVIOUS 5, 6, 7, 8, 9 NEXT
by using total=5, it only displays 5 page links, which is great, but when you get to page 5, thats all you get.
Thanks, I’ll check that snippet out.
I don’t have many pages right now so I can’t tell... without using the splitpagination snippet, does ditto have a limit to the number of page links it will show, if so how many is it? 10 or 20?
Thanks again!