Title: Enable shortcode in table content
Last modified: August 20, 2016

---

# Enable shortcode in table content

 *  Resolved [WPSpeak](https://wordpress.org/support/users/devplus/)
 * (@devplus)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/enable-shortcode-in-table-content/)
 * How do I enable shortcode to be inserted in the table content?
 * [http://wordpress.org/extend/plugins/tablepress/](http://wordpress.org/extend/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/enable-shortcode-in-table-content/#post-3331002)
 * Hi,
 * thanks for your question.
 * Shortcodes from plugins that use the regular WordPress Shortcode API work out
   of the box. No extra steps are necessary.
 * Unfortunately, some plugins do it wrong and use a custom implementation to recognize
   their Shortcodes in the content of a post or page. For these plugins, a small
   piece of extra code is necessary.
 * If you tell me what Shortcode, and from which plugin, you are talking about, 
   I’ll gladly try to find the necessary code for you.
 * Regards,
    Tobias
 *  Thread Starter [WPSpeak](https://wordpress.org/support/users/devplus/)
 * (@devplus)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/enable-shortcode-in-table-content/#post-3331014)
 * Hi. Sorry for the duplicate post. But here’s the plugin’s link [http://wordpress.org/extend/plugins/download-shortcode/](http://wordpress.org/extend/plugins/download-shortcode/)
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/enable-shortcode-in-table-content/#post-3331020)
 * Hi,
 * actually, that plugin is doing everything correct. The Shortcode should work 
   out of the box.
 * What is it showing for you if it is not working? Can you post a link to the table?
 * Regards,
    Tobias
 *  Thread Starter [WPSpeak](https://wordpress.org/support/users/devplus/)
 * (@devplus)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/enable-shortcode-in-table-content/#post-3331039)
 * Just tested it again. And now works perfectly! I’ve no ideas what’s going, the
   last time I tried it last week and the Download Shortcode plugin was update few
   days ago.
 * Not sure whether it’s plugin and my fault.
 * Sorry for taking your time though.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/enable-shortcode-in-table-content/#post-3331055)
 * Hi,
 * that might be the reason 🙂 It seems that the plugin was completely rewritten
   a few days ago.
 * Great to hear that it works now!
 * Best wishes,
    Tobias
 *  [gumman](https://wordpress.org/support/users/gumman/)
 * (@gumman)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/enable-shortcode-in-table-content/#post-3331156)
 * Hi Tobias,
 * i have a similar problem. I like to use shortcodes from the WordPress Download
   Monitor Plugin. I use them in a column which should be alphabetical ordered. 
   An example column is like this
 * Downloads
    ———— [download id=”1″] [download id=”2″] …
 * the shortcodes will be replaced with title of the download file:
 * Downloads
    ———— FileA FileB
 * This is working as expected – but alphabetical ordering fails afterwards. I think
   it’s trying to order the shortcodes alphabetical?
 * Any ideas?
 * Cheers,
    Tom
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/enable-shortcode-in-table-content/#post-3331177)
 * Hi Tom,
 * Can you please post a link to the page with the table?
    The reason for this probably
   is that the sorting is done on the full HTML code for the links.
 * Thanks,
    Tobias
 *  [gumman](https://wordpress.org/support/users/gumman/)
 * (@gumman)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/enable-shortcode-in-table-content/#post-3331180)
 * Hi Tobias,
 * have a look here: x
 * please tell me when you’re finished – as the website isn’t finished yet and i
   like to disable it again…
 * Cheers,
    Tom
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/enable-shortcode-in-table-content/#post-3331181)
 * Hi Tom,
 * thanks for the link. You can disable the page again, if you want.
    Yes, as you
   have some cells with links and some without, the sorting seems not take the HTML
   code into account. You could try to force it to, by adding the following code
   to the “Custom Commands” textfield in the “Features of the DataTables JavaScript
   library” section on the “Edit” screen of the table:
 *     ```
       "aoColumnDefs": [ { "sType": "html", "aTargets": [ 0 ] } ]
       ```
   
 * Regards,
    Tobias
 *  [gumman](https://wordpress.org/support/users/gumman/)
 * (@gumman)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/enable-shortcode-in-table-content/#post-3331183)
 * Hi Tobias,
 * yes – that did the trick! very nice.
 * Thanks for your wonderful work 🙂
 * Cheers,
    Tom
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/enable-shortcode-in-table-content/#post-3331189)
 * Hi Tom,
 * awesome! Great to hear that. Thanks for the confirmation!
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, don’t forget to rate the plugin here in the plugin
   directory. Thanks!
 *  [imkamalkumar](https://wordpress.org/support/users/imkamalkumar/)
 * (@imkamalkumar)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/enable-shortcode-in-table-content/#post-3331436)
 * Hello, Thank you for the great plugin. For me shortcode of [Visualizer](http://wordpress.org/plugins/visualizer/)
   Plugin is not working inside Tablepress cell.Please help.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/enable-shortcode-in-table-content/#post-3331437)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Most likely, the TablePress Output Caching gets in the way here. Please try changing
   your table Shortcode to
 *     ```
       [table id=123 cache_table_output=false /]
       ```
   
 * Regards,
    Tobias

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

The topic ‘Enable shortcode in table content’ 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/)

 * 13 replies
 * 4 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/enable-shortcode-in-table-content/#post-3331437)
 * Status: resolved