Home › Forums › General Issues › How to display javascript code from the Advanced custom field to the Elementor? › Reply To: How to display javascript code from the Advanced custom field to the Elementor?
Elementor is probably sanitizing that value of the ACF field. I don’t know for sure, you have to ask that question to someone that knows elementor.
The best way I’ve found around issues like this is to use the Code Snippets plugin and build a shortcode. If you have the pro version of code snippets there are other ways to do this as well.
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.