JetSmartFilters plugin gives you an opportunity to specify the posts and taxonomies, which will be excluded and included in the Checkboxes, Radio, and Select filters. We are going to provide an example based on product tags.
Excluding items in filters
1 Step — Creating a new filter
Let’s go to create a new Checkboxes filter in the Smart Filters tab of WP Dashboard by clicking on the “Add New” button. Specify the name of the filter, its label, and active label.
2 Step — Customizing Filter Settings tab
Proceed to the Filter Settings tab and select the Filter Type: Checkboxes list and the Data Source: Taxonomies. Then, choose the “Product tags” option from the drop-down list in the Taxonomy field.
3 Step — Excluding specific product tags
In the Exclude/Include field select the “Exclude” option and determine the particular product tags below, in the Exclude Or Include Items field.
Save the filter settings and go to the page, where you want to display the Checkboxes filter. Drop the Checkboxes Filter widget to the section and set appropriate settings in the appeared widget’s settings block. As you can see, the Health product tag is excluded now in the filter options list.
Including items in filters
To include the certain product tags in the filter, we should select the “Include” option in the Exclude/Include field and select the product tags from the list in the Exclude Or Include Items field.
View how it looks on the page now.
A great job! Now you know how to exclude/include the product tags in the filter options using the JetSmartFilters plugin.