I'm having trouble understanding how to implement a drop down sort option so users can sort posts by title, date, custom field, etc. I'm using a custom post type with custom taxonomies and fields.
I know you can create a template and use query_posts or wp_query and define the orderby but that's a one time deal.
If the user selected a specific category let's say, by default it would sort by date, but I want to provide a drop down where they could instead select title and those same posts will now be sorted by title instead of date.
I tried WP Smart Sort but it's not working.
Any suggestions or tutorials? Thank you!