AJAX Load More Repeating Results on Search
-
On my search page, the results are repeating the first time you click “load more”, even though I’m using both the offset and the query parameters in the shortcode. After that, it seems to paginate correctly. The button is working fine everywhere else. Here’s the URL and the search term you can see it in: http://development-client-server.com/ds/?s=autism
and here’s the shortcode I’m using:
[ajax_load_more post_type="post" search="'.$s.'" offset="12" posts_per_page="12" pause="true" scroll="false" button_label="Load More Stories" container_type="div"]
Thanks for any help!!
- The topic ‘AJAX Load More Repeating Results on Search’ is closed to new replies.