Support

Account

Home Forums General Issues How to sort by ACF field Reply To: How to sort by ACF field

  • I have a similar issue. I have this:

        $args = array(
           'meta_key' => 'event_date',
           'orderby' => 'meta_value_num',
           'order' => 'ASC',
           'cat' => '2'
        );

    and I want to add the additional sorting where the “event_date” custom field is either on or later than the current date. Any help would be appreciated.