Viewing 1 replies (of 1 total)
  • Thread Starter phoenixobia

    (@phoenixobia)

    Never mind I just figured it out. I used the following code:

    <?php foreach(get_field(‘my_custom_field’) as $post_object): ?>
    <?php echo get_the_post_thumbnail($post_object->ID) ?>
    <?php endforeach; ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Post object – Display the featured image’ is closed to new replies.