How to enable search only for specific taxonomies using JetSearch plugin for Elementor?
As you might have noticed, JetSearch plugin provides various customization features of the search results. You can choose whether the search will be applied to publications throughout the entire site, or specify the particular custom post type or taxonomy to look for the results only within it.
From this tutorial, you’ll learn how to set the specific taxonomy to limit the search results by it and enable the visitors set the terms to narrow down the search results.
Enabling search within the taxonomy
1.First, choose the page to which you want to add a search form and click Edit with Elementor button.
2.Then, drag the Ajax Search widget to the page. The Content block will automatically appear in the left-hand sidebar.
3.Now you should toggle to “yes” the Show Category List option.
4.After that, select the taxonomy which terms you want to display to help the visitors single out the results. Select a placeholder text to display.
5.As a result, one additional block will be added to the search field, showcasing the dropdown which allows specifying the terms as additional conditions for the search.
6.Now, on front-end, you can click the dropdown and choose the needed terms within which you want to look for the results.
In conclusion, we can say that taxonomy search is a convenient feature for your visitors, allowing them to single out the results and find the needed content with ease.