Forums › Forums › Search & Filter Pro › Show empty filters but in disabled state
- This topic has 6 replies, 2 voices, and was last updated 8 years, 10 months ago by Ross.
-
Anonymous(Private) January 2, 2016 at 11:24 pm #33169
Hey!
Really live the plugin: Installed it and worked like a charm! ๐
But my client wants the filters/tags that are empty, to still be shown, but in a disabled state.
Can I achieve this somehow directly via the plugin-settings? It would already work if the js that adds the post-count in brackets would also add an extra class to the items that are empty (0) I guess.
Ross Moderator(Private) January 3, 2016 at 5:24 pm #33188Hey Luka
This is not yet possible but something I’m planning on adding in ๐
I’m afraid no timeframes just yet, but as its not a difficult addition I may look at including it in the next version.
Thanks
Anonymous(Private) January 3, 2016 at 7:26 pm #33196Cool! This sounds great! Also adding a “data-count”-Attribute would be nice for selecting elements with a specific count!
Oh and one thing that would be especially great and super-easy to implement would be an optional “css-classname” field for each filter-module (most likely in the advanced settings tab) you add to your form for individual styling – also if you use multiple search forms on one website! ๐
Ross Moderator(Private) January 12, 2016 at 4:40 pm #34036Hey Lucas
I’ve added the count vars via data attributes and just sent a copy over to you.
Thanks
Ross Moderator(Private) January 13, 2016 at 11:07 am #34102Thanks! Nice use of the pointer events ๐
-
AuthorPosts