syntaxhighlighter icon indicating copy to clipboard operation
syntaxhighlighter copied to clipboard

shortcode doesn't work with ACF wysiwyg

Open KiwiCreative opened this issue 5 years ago • 2 comments

My site is using Gutenberg, but have a CPT where Gutenberg is disabled and uses only ACF fields. I have a wysiwyg field and when I try placing in the shortcode via the instructions for classic editor, nothing appears.

I'm guessing the shortcode method only works with WP's default wysiwyg (classic editor).

Does anyone know if there are any filters/actions that will extend support to ACF's wysiwyg ? Or could this be a possible enhancement for future updates? ACF is such a widely used plugin that I feel it should definitely be taken into consideration.

Thanks in advance!

KiwiCreative avatar Nov 21 '19 16:11 KiwiCreative

I know this is old.. but adding backslashes before the double quotes will render the shortcode ie: [shortcode id=\"myshortcode\"]

codecabinaustralia avatar Nov 12 '20 02:11 codecabinaustralia

Support forum

This works great in the standard content box, but doesn’t seem to work in an Advanced Custom Fields WYSIWYG. (I’m adding it via the python shortcode.) Any chance you could add that functionality?

ctdealba avatar Feb 17 '22 15:02 ctdealba