Forums › Forums › Search & Filter Pro › Infinite Scroll
Tagged: infinite scroll
- This topic has 3 replies, 2 voices, and was last updated 4 years ago by Trevor.
-
Anonymous(Private) October 28, 2020 at 12:24 pm #264409
Hi,
We’re looking for that in our case, maybe because we have something configure badly, doesn’t works.
http://qgallery.smartbrand.es/vehiculos-stock/
Appears paginations to see older and newest posts, but we want to work with infinite scroll, and when you are scrolling show more posts.
How does the infinite scroll work? How do we have to configure the plugin?
Thanks,
Trevor(Private) October 28, 2020 at 4:49 pm #264461Can you share with me the content of the results.php template file you are using (you can remove the many comment lines)? Please post any code inside code ticks (one before the code, one after)? On my UK Windows keyboard, the code tick key is next to the 1 key in the standard part of the keyboard. If you do this Google search and look at the images, they show various keyboards and where the key is located:
Trevor(Private) October 29, 2020 at 3:25 pm #264565Ah, I think I see the problem now.
In the Search & Filter -plugin folder, in the subfolder named
templates
, are two files. Normal pagination template is results.php, and there is another for infinite scroll, with a similar but different structure.Which one did you use?
Whichever one you used, you need to follow our guide when doing that:
https://searchandfilter.com/documentation/search-results/using-a-shortcode/#customising-the-results
The file must be renamed to either results.php or {the number of the form ID}.php
-
AuthorPosts