Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › ELEMENTOR LIVE FILTER NOT WORKING
- This topic has 32 replies, 2 voices, and was last updated 1 year, 3 months ago by
Ernest Marcinko.
-
AuthorPosts
-
February 9, 2025 at 10:26 pm #52829
Mayowa Awujoola
ParticipantGood evening, I have placed it but it’s not working.
I even set the search setting visibility to default but noting is showing.
Also, you didnt respond to my number 1 and 2 support questions
February 10, 2025 at 12:09 am #52831Mayowa Awujoola
ParticipantThanks. The drop-down is showing now. How about the mobile responsiveness of it?
I would love to let the dropdown show when a particular text “Filter Search” is clicked on then the dropdown will appearAnd any solution to the other support questions??
February 10, 2025 at 12:38 pm #52886Ernest Marcinko
KeymasterHi,
1. I want to have the search icon at the front of the search field that will not open anything on the other search pages when users click it.
You can change that behavior here: https://i.imgur.com/HN7xyOF.png2. How to do the type of filter I circled in the attachment I sent.
You can either use the range slider or a numeric range type of filter: https://i.imgur.com/eNd4nqR.pngThe width of the filters container is auto-adjusted based on the container width. If you set the width on the elementor container, it will follow that.
I would love to let the dropdown show when a particular text “Filter Search” is clicked on then the dropdown will appear
Theoreticall it could be possible with a bit of custom coding via the plugin javascript API, it shouldn’t be very difficult.ASP.api( 1, 'toggleSettings' );So I recommend adding a button, link or whatever you prefer and using a javascript function to attach an event handler to that. For example, assume this button is placed anywhere on the page:
<button id="asp-settings-toggle">Toggle Settings</button>And a javascript event handler like below. This goes into either the functions.php file or into a code snippets plugin (PHP):
add_action('wp_footer', function () { ?> <script> window.addEventListener("load", () => { document.querySelector("#asp-settings-toggle").addEventListener("click", (event) => { event.preventDefault(); ASP.api( 1, 'toggleSettings' ); }); }); </script> <?php });Simple like that. I can’t guarantee anything as this is beyond normal support, but it should work, as far as I tested it was working. If you need help with customizations I recommend either wpkraken, they are experienced with customization works and extending functionality to our plugin.
-
AuthorPosts
- You must be logged in to reply to this topic.