Display an ACF Field in a Shortcode

How to display an ACF Field using a shortcode

This is a simple example of how to display an ACF field using a shortcode. You will need to create a PHP Snippet and set it to run as a shortcode:

This will allow you to use the shortcode in your content editor like this: [my_custom_shortcode]

The shortcode will then display the ACF field value on the front end.