Show shortcode in a post

Shortcode is a markup language used by WordPress which is used to embed dynamically generated content, often from plugins, into your posts. Shortcode is denoted by being wrapped in square brackets, [ and ].

To show shortcode in a post, you need to escape the square brackets by doubling them, [[ and ]].

(The square brackets in this comment are shown as is, I think because they’re surrounded by spaces instead of actual code.)

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.