Да, вы можете использовать meta_query для идентификации сообщений с этим ключом, а затем l oop через поля повторителя. Это должно выглядеть примерно так:
Поля повторителя ACF
$args = array(
'meta_query' => array(
array(
'key' => 'event_date', //Or whatever your
'compare' => 'EXISTS',
),
),
);
// The Query
$query = new WP_Query( $args );
// The Loop
if ( $query->have_posts() ) {
while ( $query->have_posts() ) {
// check if the repeater field has rows of data
if( have_rows('repeater_field_name') ){
// loop through the rows of data
while ( have_rows('repeater_field_name') ) : the_row();
// display a sub field value
the_sub_field('sub_field_name');
endwhile;
else {
// no rows found
}
}
} else {
// no posts found
}
// Restore original Post Data
wp_reset_postdata();