I want to show the syntax in some posts about how to run a shortcode. I mean, something like this [myshortcode] but without running it, is that possible?
Leave a Reply
You must be logged in to post a comment.
I want to show the syntax in some posts about how to run a shortcode. I mean, something like this [myshortcode] but without running it, is that possible?
You must be logged in to post a comment.
If you use double brackets, WordPress will not execute the shortcode but just display it with single brackets. So
[[gallery]]
becomes [gallery] in your post.Try replacing the first
[
with[
in the Source editor tab instead of the Visual tabI had to use triple brackets [[[gallery]]] but I do not kwow why