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?


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.

| improve this answer | |
  • Didn't know that! Excellent tip – MZAweb May 11 '11 at 20:13
  • You learn something new every day +1 – Bainternet May 11 '11 at 20:31
  • Seriously good tip! Never knew you could do this +1 – mfields May 11 '11 at 21:26
  • 1
    If you really like this answer, don't forget to upvote the question too! – Jan Fabry May 12 '11 at 9:46
  • Depending on the plugin, doesn't always work. Eg dowsn't work for the Audio PLayer plugin. It's probably using a non-standard technique for finding the embed codes. Sigh. – Larry K Jan 23 '12 at 17:27

Try replacing the first [ with [ in the Source editor tab instead of the Visual tab

| improve this answer | |
  • Thanks but does't works, any new idea? – greenbandit May 11 '11 at 20:06
  • Sorry, I'm a moron. The html entity for that char is [ Put that in the Source tab. – MZAweb May 11 '11 at 20:12

I had to use triple brackets [[[gallery]]] but I do not kwow why

| improve this answer | |
  • 1
    Can you explain this? Looks more like a comment than an answer. – s_ha_dum Jan 15 '13 at 14:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.