meta query – meta_query Array

Question

(by using $query->set( 'meta_key', 'start_date' ); or $query->set( 'meta_query', $meta_query_array );) …

how can I send a array of dates in order to wordpress understand that the post as multiple dates and so, should be displayed several times in a chronological order list ?

I try since days to understand the problem and I can’t figured out.

I found a solution by separating dates in differents child posts, but as a event (post) as sometimes 20 dates, it generate 20 posts just for a date in a acf field.

Is there a clever way to do it ?

Thanks A LOT !
-Nicolas.

0
nico 4 weeks 2021-11-03T07:32:57-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse