Home Forums Front-end Issues Shortcodes in text field Reply To: Shortcodes in text field

  • Hi,

    I have been using this method for a while and it’s always worked, but I am now trying to load a shortcode from a custom field inside an ACF Gutenberg block but that doesn’t seem to work for me…

    I am simply storing the shortcode in my text field, when I call the text field inside my block php file and echo it using do_shortcode($custom_field_data); shortcodes aren’t being rendered.

    Any idea?