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


⏰ It's finally time! ACF PRO pricing changes take effect on Monday, 24th February. Learn more

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.