newbie here, so thanks in advance for help! I have a Wordpress site with multiple taxonomies. I'd like to create a very simple form with two select boxes, one for each taxonomy. Then I'd like to use an HTML form with the get method to display posts matching the criteria they requested from the select boxes.
I'm able to do this easy enough if each of the two select boxes are filled out, I get a permalink something like:
(ugly, I know, but it works).
What I can't figure out is what to do if they don't fill out both select boxes. Ideally it would only give the permalink for the one they fill in, so either:
testsite.com/?tax1=value1 or testsite.com/?tax2=value2
But instead I'm getting
here is my HTML
Season: <select name="season">
<option value="">Select season</option>
Vacation type: <select name="vacations">
<option value="">Select vacation type</option>
<input type="submit" />
I realize the answer is probably simple but I'm banging my head against a wall so any help is very very much appreciated. Thank you!