Pagination by Categories

Hi,

I’m curious to know how can I get Pagination to work with Mini Site 1, 2 and 3 functioning as categories? Cause right now, pagination stops working the moment a looper provider is added, so what’s the workaround for this? A bit odd that you’re allowed to have a looper provider for categories, only to have pagination not working (and no indicator as well)

This is a typical site structure where user don’t have to change the looper provider to categories

This is one of those situations where you need pagination to work for different categories.

Reason why these 3 are all in a single Wordpress install is cause client just want 1 area for them to add blog posts and can select which of these 3 mini sites will the blog post goes to.

Hello @omartan,

Thank you for the inquiry.

Since pagination relies on the default (main) WordPress query, it won’t work out of the box with the Looper Provider. It’s still possible to implement pagination, but you’ll need to use a custom Twig template – and only if you’re displaying default category posts without any filters or custom queries. Please check the links below:

Enforce Cornerstone archive layout over a shortcode/plugin generated loop inside a page?
Recurring puzzle with Looper Providers using Query Builder (pagination)

Let us know if you need more info.

Best regards,
Themeco

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.