I’d like to set up a custom search page that does the following:
User checks off several items in a form that he’d like to see returned in his search (essentially choosing from a list of tags).
Results are returned that match all of the tags he chose (using AND not OR).
A specific example would be:
Return all posts in the category of “Area” where tags = “elementary school” AND “park”
- Do I need to name my search form anything in particular?
- On the search results page, how do I code the custom query so that it grabs all posts within the category of Area, and that have tags of all the tags the user chose in the search form?