I would like to create an archive page, collecting all blog-posts in a per month view. However, already the number of month is quite high, so I would like to paginate.
The code here paginates by number of articles, however, I don’t know the number in each month.
Currently I use this code for collecting all entries in a given month:
Hey there!
In order to paginate through your months, you need to transform your list of months into a collection, and then use pagination in that collection.
I did follow your suggestion and it worked!!
However, now I switched to my own pagination using the URI params. I wanted to have the pages according to the years, however since not all month are filled I cannot just use “pagination(12)”.