Tell us what you are trying to do?
Ans: I am creating a custom search with a custom taxonomy called features. So I have 4 options in that taxonomy. One of the options has 4 sub-options. Now in the search page all of the options are appearing In the following manner.
Option 1
Option 2
Option 3
Sub Option 1
Sub Option 2
Sub Option 3
Sub Option 4
Option 4
But I want them to appear like:
Option 1
Option 2
Option 3
------Sub Option 1
------Sub Option 2
------Sub Option 3
------Sub Option 4
Option 4
So that people can understand the subcategories. Spaces are represented with (-) Sign. What can I do?
Hello,
In the custom search form, you can setup the taxonomy filter as "Select dropdown" type, so it will display as what you want in frontend, see below test site:
Login URL:
hidden link
Page with search form:
hidden link
In Select Dropdown type filter, I can't select multiple options at a time. That's why i wanted to use checkboxes. Is it possible to select multiple items in dropdown?
You just need to change the option "TYPE OF CONTROL" to: Select multiple
For example, edit the result page:
hidden link
find and select the "Categories" field, in the setting panel, change option "TYPE OF CONTROL" to: Select multiple
See my screenshot
My issue is resolved now. Thank you!