Hi @alexmanchev98,
Glad you like it!
I think it’s a bit above and beyond what most people need for their filtering, so I doubt I’ll ever add it to the Eksell itself, but it should be possible for child themes to add (with quite a bit of trickery). In short, you’d need to:
- Plug the function that outputs the filter menu,
eksell_the_archive_filter()
, and change the output to be checkbox based instead of link based, so multiple items can be selected.
- Short-circuit the
eksell.filters
JavaScript function, and replace it with one that looks for multiple active checkboxes rather than just one clicked link.
That’s for multiple selected terms in one taxonomy. To support multiple different taxonomies (categories and tags, for example), you’d also need to plug eksell_ajax_filters()
(which queries based on the selected filter) to modify the contents of the tax_query so it sends in an array with taxonomies and terms. That would be a bit more messy.
— Anders