I hope you know I’m not trying to be difficult I just didn’t understand what you were saying. To me it appears that the ACF functions are inside the loop and the problem is that they are calling using the ID of the current post page when I want them to use the ID of the get_template_part post.
Are you saying that the ACF functions are outside of the loop because they have php tags around them??
I did based my code off of this page which didn’t query any specific post
Anyways, I figured it out based on the comments that you made. I was calling using the ID of the wrong current post vs the ID of the post template which I was loading.
I added this at the beginning of that loop
<?php query_posts('post_id=65'); while ( have_posts() ) : the_post(); ?>
Then I reset the loop <?php wp_reset_query(); ?> and it’s working great.
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!