Archived topic
Query Loops - Pagination for Categories
3 replies · Started by Math on November 13, 2022
Hi,
if I pull in a specific category on a Page using Query Loops if there a way to include pagination?
I have over 50 articles and I would like to display 10 posts per page. Is there a way to do that with Query Loops?
Thank you.
Hi Math,
To clarify, are you placing the Query Loop in a Default Archive page through a Block Element - Loop Template. Or, are you placing it on a static page?
For the GB Query Loop Block, you can add pagination through the toolbar. Example: https://share.getcloudapp.com/E0uZDO4E
This should generate pagination for the Loop.
Moreover, if you're using a Loop Template, you may edit the Posts per page as you would normally in Settings > Reading > Blog pages show at most.
Oh, didn't notice that option to add pagination through the toolbar. That works!
Thank you.
You're welcome Math!