I want to use a dropdown to sort a list of posts in WordPress. The results will display on multiple pages. So how do I pass the query on to the second, third, fourth, etc. pages?
Here's an example of my form.
<form method="post" id="order">
<select name="sort" onchange='this.form.submit()'>
<option value="">Sort by</option>
<option value="zip">Sort by Zip Code</option>
<option value="type">Sort by Property Type</option>
</select>
</form>
Thank you,
John