Text between square brackets disappears in WordPress

One of the challenges you may occasionally have is how to make [shortcodes] or other text in square brackets appear in the website.

The reason the text doesn't show up is because WordPress interprets text in square brackets as special codes. You can think of a shortcode as a macro code. The good news is that these don't disappear all the time. WordPress will leave the text alone if it doesn't know what to do with it.

But when it does affect your text, you can work around this by adding an extra square brackets to each of them, [[your text]] for example. Double square brackets is how you escape square brackets, essentially telling WordPress not to interpret the text as a short code.


Leave a Reply

Your email address will not be published. Required fields are marked *