Sorry @acf-support / James, it’s working fine actually. Apologies.
One thing I have noticed though and maybe good for another thread actually. But I also need to order the posts returned in time order. I have a custom field (within the same repeater) called ‘start_time’ and the posts need to be ordered by that… Any ideas how I modify my WP_Query for that?
<?php $args = array( 'posts_per_page' => -1, 'post_type' => 'schedule', 'order' => 'ASC', 'orderby' => 'meta_value_num', 'meta_key' => 'schedule_time_slot_%_schedule_date', 'meta_query' => array( array( 'key' => 'schedule_time_slot_%_schedule_date', 'compare' => '=', 'value' => $mon, 'type' => 'DATE', ) ) ); ?>
Your help is much appreciated.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We've just released ACF 5.12.3 with a security fix to prevent arbitrary file uploads to forms with ACF fields.— Advanced Custom Fields (@wp_acf) July 14, 2022
Now that we've released this update, we recommend updating your sites as soon as possible.
© 2022 Advanced Custom Fields.