NO BUG: Pagination disconnected from query, only showing first page, not going through loop

Browser: Chrome Version 114.0.5735.134 (Offizieller Build) (64-Bit)
OS: Windows
URL: Local installation
Video: https://video.ulfkrueger.com/conversations/b70da6f0-9ccc-5e42-abd5-83692390f763

I created a template with a simple post query loop, 6 posts, showing max 3. The Pagination element in its own container is linked to the query. The pagination is listing pages 1 & 2, but is not advancing to the next page. Only shows page 1. It was working in Bricks 1.7.3.

Hi Ulf,
Thanks so much for your report!

Unfortunately, I cannot reproduce the issue. Do you have the ability to reproduce the problem in a live installation so we can take a look? Feel free to send the credentials to help@bricksbuilder.io when you are ready.

Best regards,
timmse

Hi Ulf,
Thanks for the access data!

The reason why the pagination doesn’t work is that you are in a single-template/single post. I assumed you’re using an archive, that’s why I couldn’t reproduce the issue.

You will notice the same behavior with any other WordPress theme if you add /page/xxx (choose any number) to the URL on any page or post: The page/post will always output the original content. So it’s not a Bricks bug.

You can try custom code (posts - WP_Query Pagination on single-custom.php - WordPress Development Stack Exchange) or consider a different setup.

My two cents: The pagination only complicates the “services” navigation - only six services exist. If I can see them all at a glance, I can move forward much more efficiently.

Thank you timmse,
learned something again! Thanks for nudging me into the right direction. I will rebuild the services section, now that I know what went wrong. It’s only 6 services yet, that’s true - but I wanted to be future-proof and be able to add items later.
Thanks again!
Ulf