Support

Account

Home Forums Gutenberg Cannot access ACF Field Value for CPT post when called via Gutenberg Block Reply To: Cannot access ACF Field Value for CPT post when called via Gutenberg Block

  • I was able to solve my own question – not entirely sure why, as i’m in the loop but by adding the explicit $post-ID to the_field call. IE:

    <?php the_field('location_color', $post->ID); ?>

    I was able to access the fields. If anyone has the explanation for why that is, i’d be curious to hear it. But there’s the solution regardless.