Title: Do not evaluate shortcode in example text
Last modified: August 22, 2016

---

# Do not evaluate shortcode in example text

 *  Resolved [scisus](https://wordpress.org/support/users/scisus/)
 * (@scisus)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/do-not-evaluate-shortcode-in-example-text/)
 * I want to include unevaluated tablepress shortcodes in some posts on my site 
   as examples for some of the volunteers who work with us.
 * Is there a way to keep the shortcodes from being evaluated within select posts
   on a site that uses TablePress?
 * Right now [I just get a bunch of tables instead of shortcode examples](http://esa.org/history/tablepress/).
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/do-not-evaluate-shortcode-in-example-text/#post-5476489)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * For this, you can simply make use a nice feature of Shortcodes in WordPress, 
   called [escaping](http://codex.wordpress.org/Shortcode_API#Escaping):
    A Shortcode
   will not be executed if it is wrapped in another pair of `[]`, so just write 
   you Shortcode as`
 *     ```
       [[table id=123 /]]
       ```
   
 * and it will output
 *     ```
       [table id=123 /]
       ```
   
 * instead of the actual table.
 * Regards,
    Tobias
 *  Thread Starter [scisus](https://wordpress.org/support/users/scisus/)
 * (@scisus)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/do-not-evaluate-shortcode-in-example-text/#post-5476556)
 * Woohoo! Thanks!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/do-not-evaluate-shortcode-in-example-text/#post-5476575)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](http://wordpress.org/support/view/plugin-reviews/tablepress)
   here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Do not evaluate shortcode in example text’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/do-not-evaluate-shortcode-in-example-text/#post-5476575)
 * Status: resolved