Adding [[shortcode]] as example gives JSON error
-
I have a plugin. On the plugin’s website I have pages with examples of how to use a shortcode. In the past I have been able to display the shortcode text using
[[
shortcode
]]
(without the spaces – here it is converted into a link) which will show the shortcode format as an example without actually embedding it.Suddenly that doesn’t seem to be working. I now get an error
Publishing failed. The response is not a valid JSON response.
even if I wrap it in inline code tags.The workaround is to include a space
[ shortcode ]
but that isn’t idealWhat has changed? How can I display a shortcode example without it triggering the shortcode itself?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Adding [[shortcode]] as example gives JSON error’ is closed to new replies.