Support

Account

Home Forums Front-end Issues wp_query Orderby multiple meta doesnt work Reply To: wp_query Orderby multiple meta doesnt work

  • You cannot order by a meta field in WP if every post does not have a value that is order-able. Posts without values will be ignored. Posts with values, but are empty (i.e. empty string) will either be ordered first or last depending on the order you want.