Step 1: Enable Shortcode: Add this code in code snippets (php)
add_action( 'acf/init', 'set_acf_settings' );
function set_acf_settings() {
acf_update_setting( 'enable_shortcode', false );
}
Step 2: Allow Access – (ACF/SCF > Field Groups > Fields > Presentation > Allow Access to Value in Editor UI)
Step 3: Add Short Code in Elementor: Place the shortcode marker with the desired field within your wysiwyg content or any other elementor field. This shortcode runs the same as the the_field() function.
[acf field="field_name" post_id="123"]
#Example
This is a story about a boy named [acf field="name"]. He is [acf field="age"] years old.
Limitations: Only works for simple text based values
Hurrah – Done
