I'm struggling with a WordPress search function. Maybe it will just help if someone can explain to me how the built in WordPress function works. But here's what I want:
- Two search fields, by name and by location
- The first field should check all the common post data (only posts) + categories
- The second field should only check on the posts custom fields
- Only one field needs to be filled
First of all, is this even possible or do I have to use native php+sql? If it is possible, can you please give me a hint on where to start?