I installed Ele Custom Skin, and it does a great job in allowing you to “skin” the lists and archives, but I still need to sort by the event date.
The following is pretty close:
$currentDate = date('Ymd');
$args = array(
'numberposts' => -1,
'meta_key' => 'date',
'orderby' => 'meta_value_num',
'order' => 'ASC',
'meta_query' => array(
array(
'key' => 'date',
'compare' => '>=',
'value' => $currentDate,
),
)
);
Source: https://support.advancedcustomfields.com/forums/topic/how-to-sort-by-acf-field/
However, I’m not sure how to make that code available to Elementor.