Home › Forums › Bug Reports › The WP 4.8.3 update broke the query on sub field values › Reply To: The WP 4.8.3 update broke the query on sub field values
Hi !
I have a same bug !
if I delete % it does not work either.
what would be the good issue
thx
$date = DateTime::createFromFormat(‘Ymd’, get_field(‘date’));
$args = array(
‘post_type’ => ‘programmation’,
‘posts_per_page’ => 1,
‘order’ => ‘ASC’,
‘orderby’ => ‘meta_value’,
‘meta_query’ => array(
array(
‘key’ => ‘dates_%_date’,
‘value’ => date(‘Ymd’),
‘compare’ => ‘>=’,
)
)
);
//var_dump($args);
$query = new WP_Query( $args );
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!
Our guide looks into WordPress custom fields and how they stack up against the possibilities of ACF.
— Advanced Custom Fields (@wp_acf) July 18, 2022
https://t.co/hk3yibkHyk
© 2022 Advanced Custom Fields.
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.