I’m trying to setup Archives for my Posts to display them by year. My current Code works kind of:
I can paginate back and forth to all pages but the inital page. once i want to paginate back to page 1 it doesn’t work (no posts are being fetched). I think it’s a bug, since useing the same template for my categories works just fine.
In the pictures you see me useing a section template within a archive template. The query is inside the section template, and the archives are displayed correctly and work in all cases but not for navigating back to the first pagination (with ajax)
thank you for your video and website url - I see what is happening. If you are on a /2025 page, and you click on the first page, the query will wrongly assume that the 2025 is a page you want to query… and that’s why there are not results.
I’ve created an internal bug report, but as a workaround, you can disable AJAX pagination, then it should work.