- This topic has 3 replies, 2 voices, and was last updated 7 years, 7 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Infinite scoll + Ajax -> loads content if none exists
Tagged: ajax, Infinite scoll, loads content if none exists
Hello,
I use different types of taxonomies to filter my posts.
To load my results I use AJAX – that’s work well.
Instead of the pagination I want to use the infinite scoll modul. So when I have my “standrad loop” it works:
e.g. 200 items over all -> results per page are 50 -> I scroll down, than showing the next 50 items and so on…
BUT
if I have no hits, or very few (after filter an term), infinite scoll loads other items (after scrolling) from the standard loop which not corresponding with my tax term.
> If I call the URL directly (no AJAX) it works.
> if try to add the “data-search-filter-action=’infinite-scroll-end'” function.
I am thankful for every hint
thanks ahead.
Thanks, you already helped me 🙂
I was doing a preview link to share with you and I “saw” the error.
> I have called the “shortcode” 2 times with the same ID (main nav and a modal search box for mobile)
—
Is there a quick solution to display the same search-filter two times (synchronized)?