Escaping a shortcode so it displays as-is [duplicate]
The secret is called escaping. You need to place an extra set of square brackets around your shortcode and it will display as . Also, double escaping works too: [gallery] outputs . There is also a Trac ticket on this topic.