- This topic has 3 replies, 2 voices, and was last updated 8 years, 1 month 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 › S&F pro ajax infinite scroll issue – it duplicates the items
Tagged: ajax, duplicates, infinite scroll, pagination, s&f pro
Hi there, I have a problem using ajax infinite scroll with s&f pro. I think I’ve discovered what the problem is but I don’t know how to solve it.
I have a professionals section in my website. When I load the professionals using infinite scroll it loads each professional twice. When I tried using “normal” pagination in s&f with <a href="" class="load-more">load more</a> it doesn’t work at all. Is there any way of solving this? I think the main problem is that I’m loading twice the [shortcode]. I have the same search engine on header.php (in a dropdown menu) and then the same on proffessional-results.php page. When I disable the [shortcode] on header.php it works without any duplicates. However I want to keep the search engines in both places. If anyone can fix this i would be really grateful.
Thank you,
Alex