This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 1 year, 11 months ago.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Create a filter button
This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 1 year, 11 months ago.
Hi ,
I have a question related to the styling of the settings filter. The request is to havea more clear indication of the filter option instead of a very small icon.
The option I could think of is to create a button or visual element , when clicking on it the filter options will appear. But I am not sure how to accomplish that.
Sample in the attachement.
The other question is related to the filter options, would it be possibel to show for each filter the result like
Color
red (10)
green (4)
Size
small (3)
large (12)
I could not find an option to set these active, not sure there is a way to show this information.
regards
Marco
Hi,
Well, you can trigger some events via the plugin javascript API. The toggleSettings method is what you are looking for.
After creating a button, you could program an event listener on cliks, and execute that method to open the settings.
#2. If you mean showing the number of matches/possible matches in the filter, it is not possible unfortunately.
Best,You must be logged in to reply to this topic.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |