WAIT: Infinite scroll / load more posts in archive not working

Infinite scroll / load more posts in archive

I have a custom archive page for news posts that I want to load 10-ish posts, then 10 more when you scroll to the bottom without having to click ‘load more’ or a navigation number or something like that. Thought this would be easy but turns out it’s not. Maybe I’m missing something obvious.

When I turn on “infinite scroll” (and a loader animation) it looks like it tries to load more posts but after a couple tries comes up with nothing?

When I have the “posts per page” at -1 it will load everything perfectly but I want it to load in portions instead of the whole thing at once because that slows down the page.

I’m on Bricks 1.9, no other notable settings for the query I think. Browser console gives this error
"{“code”:“rest_no_route”,“message”:“Geen route gevonden die overeenkomt met de URL en aanvraagmethode.”,“data”:{“status”:404}}

(“No route found that matches the URL and request” in Dutch)

here’s the page I’m talking about: https://jolanda.bambiboland.nl/category/nieuws/ – currently set to show only 6 posts so you can see the issue clearly.

I’m having the same problem.

I’m using a Posts query loop set to show 3 posts but also infinite scroll. Three posts display initially, but my client keeps reporting no more Posts load, which I confirmed. I just tried changing the Ajax Loader Animation setting to Default (it was set to None). More posts load when testing infinite loading after the cache is cleared, but this was the case before. I’ll have to recheck it later.

Here’s my page: Stories and News | Michigan Health Improvement Alliance

Bricks 1.9

Hi guys,
Thanks so much for your report!

Can you please update to Bricks 1.9.1 and see if the issue persists?
If so, would you be so kind as to send temporary login credentials and a link to this thread to help@bricksbuilder.io using the email address you used during the purchase?

Best regards,
timmse

Just checked, I’m currently (possibly already was) on 1.9.1 and the issue is still there.
Will send my details through e-mail. thanks!

I checked again this morning, and the posts were not loading, then it occurred to me that I had a popup firing on my posts page. I excluded the popup on the page, and now the posts load properly. Some kind of conflict?

Login sent!

I’m waiting to upgrade to 1.91 on this production site.

Having the same problem on 1.9.3. Infinite load on archive page does not work.

Hi @Tobias ,
It works for me :slight_smile: That’s why I need much more information from you… preferably in the form of a screencast and a live link.

1 Like

Somehow today it is working. I guess there was just a conflict with the litespeed plugin yesterday but I could not find out why this plugin makes sometimes trouble with bricksbuilder.