Title: Shortcodes in Table Cell
Last modified: August 30, 2019

---

# Shortcodes in Table Cell

 *  Resolved [spencerk2weberstatecu](https://wordpress.org/support/users/spencerk2weberstatecu/)
 * (@spencerk2weberstatecu)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/shortcodes-in-table-cell/)
 * Is it possible to insert shortcodes inside a table cell? With the help of Advanced
   Custom Fields: Table Field, I several tables through my site filled with values.
   With Pods, I created a set of custom field (e.g., rate1, rate2, rate3, etc.) 
   that I want to populate within the tables on all pages using the Pods generated
   shortcodes. When I need to update rate1, instead of making edits to all of my
   pages, the idea is that I can update the custom field with my Pods menu item 
   and all tables will be updated.
 * Using WordPress 5.2.2
 * **Plugins**
    - **Advanced Custom Fields PRO** ver. 5.8.3
    - **Advanced Custom Fields: Table Field** ver. 1.3.5
    - **Pods – Custom Content Types and Fields** ver. 2.7.14

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

 *  Plugin Author [Johann Heyne](https://wordpress.org/support/users/jonua/)
 * (@jonua)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/shortcodes-in-table-cell/#post-11901230)
 * For shortcodes in table cells, you can use the WordPress function do_shortcode()
   [https://developer.wordpress.org/reference/functions/do_shortcode/](https://developer.wordpress.org/reference/functions/do_shortcode/)
   in the template code like…
    `echo do_shortcode( $th['c'] );`
 * Cheers,
    Johann
    -  This reply was modified 6 years, 9 months ago by [Johann Heyne](https://wordpress.org/support/users/jonua/).
 *  Thread Starter [spencerk2weberstatecu](https://wordpress.org/support/users/spencerk2weberstatecu/)
 * (@spencerk2weberstatecu)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/shortcodes-in-table-cell/#post-11903072)
 * Thanks Johann! Keep up the good work!

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

The topic ‘Shortcodes in Table Cell’ is closed to new replies.

 * ![](https://ps.w.org/advanced-custom-fields-table-field/assets/icon-256x256.png?
   rev=1962986)
 * [Table Field Add-on for ACF and SCF](https://wordpress.org/plugins/advanced-custom-fields-table-field/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-fields-table-field/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields-table-field/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields-table-field/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields-table-field/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields-table-field/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [spencerk2weberstatecu](https://wordpress.org/support/users/spencerk2weberstatecu/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/shortcodes-in-table-cell/#post-11903072)
 * Status: resolved