Forums › Forums › Search & Filter Pro › Infinite Scroll not working on shortcode results page
Tagged: infinite scroll
- This topic has 7 replies, 2 voices, and was last updated 4 years, 6 months ago by Trevor.
-
Anonymous(Private) May 25, 2020 at 5:22 pm #245808
i also tried to add optional post and container selectot like this
<div class='search-filter-results-list'> <?php while ($query->have_posts()) { $query->the_post(); ?> <div class="divpost"> ................................ </div> <?php } ?> </div>
and added them to settings, like this
div.divpost to post
div.search-filter-results-list to container
It did not helpTrevor(Private) May 26, 2020 at 12:19 pm #245875Assuming you are using the Shortcode Display Results method:
https://searchandfilter.com/documentation/search-results/using-a-shortcode/
If so, I assume/hope you copied (to the child theme
search-results
folder you would have made) the results-infinite-scroll.php template instead of the results.php template when you followed the customising guide there? It still needs to be named results.php in the child theme, so it would need renaming.Trevor(Private) May 26, 2020 at 12:27 pm #245881Are you able to send me temporary WordPress admin logins (ones you should later delete or disable) for the site so that I can look at the setup? Please use a Private Reply. Can you ensure that the theme editor (in the Appearance menu) is accessible to me?
-
AuthorPosts