Hi! My posts get ordered by date which is picked by an advanced custom field datepicker. I want to use the regular WordPress function references [the_title(), etc …] and the post related custom field’s. Right now the output of every loop is the the same:
I read setup_postdata() can have issues with sharing the same variables as ACF fields. I also tried to rename them, but no difference.
You cannot use the function the_title() and the_permalink(), or any other WP functions that start with “the_” in the loop your using. These only work inside a standard WP post loop while (have_posts())...