Forums › Forums › Search & Filter Pro › Infinite scroll when “as an archive” works only on second interaction
Tagged: ajax, archive, infinite scroll, results
- This topic has 22 replies, 3 voices, and was last updated 4 years, 2 months ago by Ross.
-
Anonymous(Private) August 10, 2020 at 8:43 pm #255605
Hello fellas, I’m currently building a document catalog site, using default post type as documents and renaming (only on frontend) categories to niches.
I’m trying to set the results to display as an archive, as described on doc.
So, the current picture is:
There’s an
archive.php
file with#main
as container for.search
(with form shortcode as content) and.docs
(with default loop in it).On form settings,
#main
set as Ajax Container,article.post
as Result Container and.docs
as Infinite Scroll Container.When I access the niche archive page, the search form is correctly checked on that category and the results displayed are correct, but when I scroll down the next items don’t load. If that niche is unchecked or any other is checked, the scroll starts to work.
I tried setting a slug, but no effect.
Any thoughts?
-
AuthorPosts