Forums › Forums › Search & Filter Pro › Infinite Scroll – Can't get it working even with default template?
Tagged: footable., infinite scroll
- This topic has 8 replies, 2 voices, and was last updated 6 years, 2 months ago by Trevor.
-
Anonymous(Private) September 24, 2018 at 2:45 pm #189255
Hi
After several years of teaching myself PHP/jQuery and WordPress development, I am finally nearing the end of my development.
I have been using v2.3.0 of your excellent plugin for a long time and have just upgraded to 2.4.5 today. I am using a heavily customised results template to satisfy the needs of my site and everything is working very well until it comes to Infinite Scroll. I thought upgrading would get it working but unfortunately this has not been the case. I have tried to target the correct selectors in my Footable via the Infinite Scroll settings but nothing changes.
I wouldn’t normally ask for help but I cannot seem to get it working even with a default search template so I was wondering if anyone could take a look at my setup and see if they can spot where I am going wrong.
Many thanks for your help
Trevor(Private) September 24, 2018 at 3:15 pm #189259The results.php file needs a different structure to be use for infinite scroll. Tow exemplar results templates are given with the plugin (look the in the plugin templates folder), but the file must be named either results.php OR 1234.php (or whatever the form ID is).
I am assuming your customised version is in a sub flder of the child theme already?
Trevor(Private) September 28, 2018 at 11:46 am #189597Hi Sarah. Great to speak with you this morning. Nearly there. Looks like it was the Bootstrap ‘scrollable’ functionality that is the issue. As discussed, I could only think of two solutions. One was to remove the scrollable class from ALL your templates, or look at our javascript and see if you can add a switch so that it detects bootstrap is present and uses their code.
-
AuthorPosts