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
- This topic has 3 replies, 2 voices, and was last updated 8 years, 8 months ago by
Trevor.
-
Anonymous(Private) February 8, 2018 at 10:15 am #158266
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 -
AuthorPosts