Support

Account

Home › Forums › Gutenberg › ACF Fields not returning – ACF Block + get_template_part() › Reply To: ACF Fields not returning – ACF Block + get_template_part()

  • Solved. Using the variable $post_id returns the correct data for that block.

    $wf_settings_width = get_field('wf_settings_container_size', $post_id);'