agenda ordered by meta value

This commit is contained in:
jorge 2024-04-15 11:41:27 +02:00
parent db6dc06d56
commit 8da89e0ff4
1 changed files with 3 additions and 4 deletions

View File

@ -59,9 +59,6 @@ get_header();
'terms' => 'activitats'
)
),
//'order_by' => 'meta_value', //order by meta value
//'meta_key' => 'xxp_convo_apply_end', // order by meta key convo apply end
'order' => 'ASC', //order ascendent
'meta_query' => array(
array( //filter results show only older than today
'key' => 'xxp_agenda_date_end',
@ -69,7 +66,9 @@ get_header();
'compare' => '>=', //show events before today
'type' => 'DATE',
)
)
),
'orderby' => 'meta_value', //order by meta value
'order' => 'ASC', //order ascendent
)
);
?>