Skip to main content

How can I paginate a list of pages that are being filtered by tag?

Hi there,

I have a partial template that I'm using to create dynamic lists of pages based on tag, but I can't seem to get pagination working for my lists.

The code I have in my partial template looks like this (boiled down):

{% for post in tag.most_recent_published_pages limit:1 | paginate %}
{{my post markup here}}
{% endfor %}

I have the limit set to 1 just for testing purposes.

Anyone have ideas on what needs to be different in order to get pagination up and running here?

Thanks,

 

Official response from

Please see below!

Share this post

Showing 13 reactions

How would you tag this suggestion?
Please check your e-mail for a link to activate your account.