I have made six custom taxonomies. I want to perform search using keyword and custom taxonomy in wordpress For eg: I want to have a dropdown with only four custom taxonomies(not all 6) and then filter the search based on the keyword and the custom taxonoy selected by me. In searchform.php, I pasted the code
<form method="get" class="search-form" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>">
<fieldset>
<label for="search">Search:</label>
<select id="search" class="select" title="Whole Site" name="cat">
<option value="news">News Articles</option>
<option value="publications">Publications</option>
<option value="professionals">Professionals</option>
<option value="company">Company</option>
</select>
<div class="input-holder">
<input type="text" placeholder="Enter keyword..." class="text" name="s" id="s">
<button type="submit" name="submit" class="submit">Search</button>
</div>
</fieldset>
</form>
then in search.php , I retrieved the select value as $category_index=$_REQUEST['cat'];
$ss=$_REQUEST['s'];
Further, I do not know how to filter.