Home › Forums › General Issues › theme shortcodes in wysiwyg field › Reply To: theme shortcodes in wysiwyg field
Hi @dynamyc
Thanks for the foolow up. This confirms that the shortcode is indded working correctly, but either the script is missing or there is a JS error on the page preventing it from working.
Can you please open your console log and report any JS errors on the page?
Next, can you search the source code on the page for the javascript file. Is it included at all?
Lastly, search through the 3rd party plugin to find out how the script is included. Perhaps it is using the ‘the_content’ filter to add the script? If this is the case, then you will need to run your ACF value through this filter like so:
echo apply_filters('the_content', get_field('field_name'));
Thanks
E
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.