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/
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.