Shortcodes can be used within a WYGIWYG to display another field’s value. To learn more about shortcodes, click here.
- ACF v3.1.1 or above
Place the shortcode marker with the desired field within your wysiwyg content. This shortcode runs the same as the the_field() function.
[acf field="field_name" post_id="123"]
This is a story about a boy named [acf field="name"]. He is [acf field="age"] years old.
- Only works for simple text based values