I want to show the name of the category selected from a drop-down when someone searches in the category.
The page should show search results for "category name here."
I tried using get_search_query();
but it shows only the results from the search form, doesn't work on drop-downs.