Home › Forums › Add-ons › Repeater Field › filter custom fields data by date › Reply To: filter custom fields data by date
I don’t see anything wrong with your query. If the post types exist then is should be working, it’s a pretty simple query. My first step would be to see what posts it’s actually returning to see if I’m getting any of the other posts
$args = array( 'post_type' => array( 'acuaticas', 'dirigidas', 'cuerpomente', 'servicios', 'infantil', 'tonificar' ), 'post_per_page' => 14 ); $the_query = new WP_Query ( $args ) ; echo '<pre>'; print_r($the_query->posts); echo '</pre>';
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’re reaching out to our multilingual users to ask for help in translating ACF 6.1. Help make sure the latest features are available in your language here: https://t.co/TkEc2Exd6U— Advanced Custom Fields (@wp_acf) May 22, 2023
© 2023 Advanced Custom Fields.