The taxonomies search tool allows you to find posts/locations by taxonomy terms. To add a (custom) taxonomy to the search form, follow these steps:
- Edit your search form
- Click on the menu “Taxonomy search”
- If you’re about to add your first taxonomy, click on the group field “Taxonomy 1”, otherwise, click on the button “Add new taxonomy”
- In the field “Label/Title”, enter the title of your (custom) taxonomy (e.g. “Categories”)
- In the field “Taxonomy name”, select a taxonomy. Please note that you can’t use the same taxonomy multiple times on the same search form!
- In the field “Description”, enter the taxonomy description
- In the field “Display type”, select a field type.
- If you need to prevent specific taxonomy terms from being used in the search form, select these terms in the field “Exclude terms”
- If you want to use only specific taxonomy terms in your search form, select these terms in the field “Include terms”
- In the field “”Operator” parameter”, select the operator to test with during the search request.
- Change the display order of the taxonomy terms by selecting an option in the field “Order parameter”
- To hide terms that are not associated to any post/location, select the option “Yes” in the field “Hide empty terms”, otherwise, select the option “No”
- To add an option that allows searching by all taxonomy terms, select the option “Yes” in the field “”Search All” option”, then, change the text that indicates this option in the field “”Search All” Label”.
- To add a static text (symbol) after or before each taxonomy term, enter a text in the field “Symbol”. To choose the symbol position, select an option in the field “Symbol position”
- To show the taxonomy in your search form, select the option “Yes” in the field “Visibility”
- To add another taxonomy, click on the button “Add new taxonomy” and repeat the steps from 4 to 15
- Scroll down to the field “”Relation” parameter” and select the relationship between all your taxonomies
- Save your search form once finished