- This topic has 2 replies, 2 voices, and was last updated 9 years, 7 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Filters not working with SmoothState.js ajax plugin
Hi there,
My site is using Search Filter Pro as well as SmoothState.js to load pages smoothly using ajax.
When I load the page with my Search Filter Pro form on directly, it works fine and the results load as they should (I’m using the ajax option).
But when I navigate to the page with my Search Filter Pro form on from ANOTHER page, the form doesn’t work.
It’s as if certain elements of Search Filter Pro are only initialised on the page that contains the form, and not on the first page, and so when you arrive at the Search Filter page, it’s not properly initialised.
This kind of thing is common with SmoothState so you have to reinitialise plugins once the page has loaded.
Is there a way I can manually reinitialise the Search Filter Pro form through SmoothState?