NO BUG: WPGridBuilder Archive Template infinite scrolling does only work on reload

Browser: Arc 1.46.0
OS: macOS
URL: Link to a page that illustrates this issue
Video: Short video demonstrating the issue

I’ve encountered a potential issue using a combination of Bricks with WPGridBuilder. Here’s what I do: I utilize an archive template to display some Custom Post Types (CPTs). Naturally, I’m using a loop, but the main settings are configured in the template settings under conditions, which match all the post types I intend this template to be used for. Currently, there are three CPTs.

Additionally, I adjust settings within the loop itself. I set the order and “Posts per Page,” and also enable “Infinite Scrolling,” without an offset.

At the top of the template is a WPGridbuilder filter area designed to filter categories. This area conditionally appears only on one CPT. When I use it by clicking on a category button, I initially receive only 6 posts (as preset in the loop). So far, so good. However, I expect to see more posts as I scroll due to the infinite scrolling setting I’ve configured in the loop. Unfortunately, nothing happens. Infinite scrolling only seems to function when I reload the page, and the filter is set.

Does anyone have any idea what the problem could be? Thanks in advance.

Hi Michael,
Thanks so much for your report!

The WP Grid Builder Bricks addon doesn’t support Bricks native infinite scroll. Please see:

This add-on does not support the “Infinite scroll” option from Bricks for the elements listed above. However, you can use a facet to load more content on click or scroll. The “Cache query loop” option in Bricks should remain disabled in order to prevent query issues.

Best regards,
timmse

1 Like

Thank you so much. This helped a lot. Changed it for a facett and it works fine.