Support

Account

Home Forums ACF PRO Getting Fields from Thumbnail Reply To: Getting Fields from Thumbnail

  • You need to supply the $post_id value in get_field()

    
    <?php 
      $attachment_id = get_post_thumbnail_id();
      $value = get_field('field_name', $attachment_id);
    ?>