Sorry for the delay on this. I really do appreciate your responses. Your code returns the string (5)…which is the number of image fields there are in the repeater.
print_r(get_sub_field('project_image'));
won’t get called within my current loop because if( have_rows('project_images', $post_object) ):
is false (because it is returning a string). Is there a different way to get at the sub field of a repeater?
Right now $post_object
is returning the ‘featured_project’ post ID when I use get_field. I am using it elsewhere without an issue, so the ID it is grabbing is correct.
The ‘project_image’ field is set to return an image array, however, I also tried just the URL.
I am using the same exact code (minus the added ID option) on a single post page and it works just fine.
Thanks for the response John. Are there any common culprits that I can look for? I am using a relatively barebones Genesis child theme.