How to use pagination?
This is an open discussion with 3 replies, filed under Troubleshooting.
Search
You have do to two things:
- Set up your archive page with an URL parameter for pagination, e. g.
page
which will be present in the XML source as$page
and should be set via the URL:yoursite.com/archive/2
- Change your DataSource to output just 20 entries, to include pagination and to filter by
$page
(Show page __ of results
).
With this setting you should be able to create a paginated archive.
And this might help too.
The link above has moved here.
Create an account or sign in to comment.
I am really confused about pagination. If I have an archive page, and I want to display 20 articles per page, but I have more than 20 articles, how do I have links to next page and previous page at the bottom?