Support

Account

Home Forums General Issues Sort order of several ACF Fields Reply To: Sort order of several ACF Fields

  • You have to use a meta query with multiple values and clauses.

    See the example of using clauses on the documentation for WP_Query() Order & Orderby Parameters. The example is titled “‘orderby’ with multiple ‘meta_key’s” and is currently the 10th example given.

    Note, in your case you would use “EXISTS” for the compare setting on both meta keys.