• Resolved mattbarry

    (@mattbarry)


    Hey there,

    I have a search page set up and that shows search results – fine. I would like to add a link/button to this page that will sort the results by meta_values OR taxonomy terms.

    For example – If I had a meta_key called ‘Year’ – and the values were 2001, 2002, 2003 etc…I would like to order them starting with the oldest first.

    I tried using ‘&meta_key=year&orderby=meta_value&order=ASC’ but it seems to have no effect.

    Would meta_keys or taxonomies be best for this? What is the easiest way to do this?

    Hope that makes sense!

    http://wordpress.org/extend/plugins/relevanssi/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Relevanssi – A Better Search] Sort results by Meta Key?’ is closed to new replies.