Support

Account

Home Forums General Issues ACF field for JSON code (using elementor widget) Reply To: ACF field for JSON code (using elementor widget)

  • No, there is no solution. The only integration with elementor comes from elementor. ACF has no built in integration for page builders.

    Elementor is what is striping the script tags, not ACF. ACF will output whatever is in a text area without stripping tags as long as it is set to not format the content in the return value settings.

    This is why you need to use a shortcode. If the content being output is a field on the current post then you can use [acf field="field_name"]. Others have used this method because elementor does not appear to affect content returned by a shortcode.

    https://www.advancedcustomfields.com/resources/shortcode/