Use an HTML Element To Filter Taxonomies In WP Search
If you mean a single-selection dropdown menu, then you can add the <select> element using wp_dropdown_categories(). Here’s an example with salary_bands being the taxonomy name/slug, and I’m placing the dropdown above or before the submit button, but you can just place it somewhere else in your form: <?php wp_dropdown_categories( array( ‘taxonomy’ => ‘salary_bands’, // taxonomy … Read more