I have a custom field ‘banner’ on every page and post. I want to display loop of posts on a page. On top of this page there should be image ‘banner’, and in the loop of posts I’d like to show the ‘banner’ iamge for each post in thumbnail size.
Sounds easy but whatever I do, the thumbnails are displaying the main page banner instead of their own ‘banner’ images.
$banner = get_field(‘banner’, $post->ID);
with no effect