Changing the Search fields in the Header Search or search widget
I have installed a Search widget which claims to search categories, for example by creating a small search box with this code:
[searchandfilter fields="category,post_tag" submit_label="Filter" headings="Categories,Tags"]
but in the Categories box, despite having 12 Categories set up it only gives me the options of All Categories and Uncategorized. I presume this means it's picking up the Categories for Posts rather than Listings. What would be the code to have it pick up my theme categories?
Also, I don't want to search tags. I would prefer the first search option to be based on one of the fields I set in the Listing form, which is simple "male or female" option. The code in the Forms list is written as #app_gender, but when I enter that in the search box code without the hash that doesn't work.
Basically I want to either turn the Search in the Header into this, or if that's not possible, create a separate Search box for it elsewhere, so I it works like:
Search for Male OR Female (OR All if that's possible),
in one of the Categories, chosen from a dropdown.
Can you help with that?
Thanks