multiple orderby 'meta_key'
-
hi,
I would like to order this query
metakey using 2 values??, and st_date st_time,
but do not know the correct syntax, and the query below works but it sorts the results only for a value st_date, how can I add the second value in the orderby,
have tried in various ways, but even so not right
`… ‘orderby’=>’meta_value’, ‘meta_key’=>’st_date st_time’, ‘order’=>’asc’ ….$args = array('tax_query' => ... .... 'post_status'=>'publish', 'orderby'=>'meta_value', 'meta_key'=>'st_date', 'order'=>'asc');
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘multiple orderby 'meta_key'’ is closed to new replies.