MyListing does not allow users to search for Listings using Custom Taxonomies within the Quick Search Bar by default.
These code snippets and the How to Unlock Custom Taxonomies With MyListing Quick Search guide help you overcome this limitation.
Code Snippet 1
Replace the ‘Custom Tax’ entries with the actual names of your own Custom Taxonomies.
$GLOBALS['CUSTOM_TAX_FOR_QUICK_SEARCH']=["Custom Tax 1","Custom Tax 2","Custom Tax 3"];Code Snippet 2
if($GLOBALS['CUSTOM_TAX_FOR_QUICK_SEARCH']){
foreach($GLOBALS['CUSTOM_TAX_FOR_QUICK_SEARCH'] as $tax){
$sections[strtolower($tax)] = $this->get_terms( [
'title' => _x( $tax, 'Quick search > '. $tax . ' section title', 'my-listing' ),
'taxonomy' => strtolower($tax),
'search_term' => $search_term,
] );
}
}