Forums › Forums › Search & Filter Pro › Live Filtering WITHOUT using the Form? Or: Live Filter using Links?
- This topic has 5 replies, 2 voices, and was last updated 4 years, 4 months ago by Trevor.
-
Anonymous(Private) July 9, 2020 at 12:08 am #252076
Is it possible to have a S&F template using the Custom method along with the form, but ALSO have a set of links the form that would filter the main taxonomy?
Use Case: my client wants to place 5 images ABOVE the form that relate to the 5 main categories we’ll be filtering, and if a user clicks on one of them 5, it will live filter and auto-scroll them down to the results (as if they used the dropdown on the S&F form itself). I’ve linked to filtered results before using the query parameters that the plugin generates, but this would be a bit different since they want it to behave as if the form is being utilized (live filtering via AJAX), but they want a more visual layout.
Trevor(Private) July 9, 2020 at 10:10 am #252118Not directly, no. You would need to have some custom javascript attached to these images that sets these choices in a form (even if that form is hidden). Having said that, other than these images, will the form be on the page and used? You could simply use CSS on the form to replace the normal form choices (maybe as radio buttons or checkboxes) with images?
Anonymous(Private) July 9, 2020 at 4:04 pm #252258We’ll need the form, along with the main image “filters”, but I appreciate your approach/brainstorming.
If I understand you correctly, to go the more custom javascript route, I just need to write a function that will emulate the change/select function of the taxonomy dropdown (it will be a dropdown in this case anyway)? That’s kind of what I figured, and I’ve just recently done something just like it for Mapify Pro, so I’ll just go that direction. I just wanted to make sure there wasn’t something I was missing that was built into S&F already.
Thanks, as always, Trevor!
-
AuthorPosts