Title: [Plugin: custom tables] not expanding shortcode
Last modified: August 20, 2016

---

# [Plugin: custom tables] not expanding shortcode

 *  Resolved [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-custom-tables-not-expanding-shortcode/)
 * Can you put a call to do_shortcode() for the content of the table entries?
    I
   tried using a shortcode and it doesn’t expand it. That would make it really useful
   for using with other plugins. Also, does your code have any filters or actions
   that my code could use to (slightly) modify the results? For instance, on the
   sort or on the query or after getting the data?
 * [http://wordpress.org/extend/plugins/custom-tables/](http://wordpress.org/extend/plugins/custom-tables/)

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

 *  Thread Starter [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-custom-tables-not-expanding-shortcode/#post-2372236)
 * I should amend what I said…
    I put a shortcode for another plugin in a table 
   cell by itself and it was expanded. I put the same shortcode in the overlay setup
   and used a table field as a parameter to the shortcode. The field was expanded,
   but the other plugin’s shortcode was not expanded. I want to be able to use shortcodes
   with field values as parameters.
 *  Plugin Author [Stefan M.](https://wordpress.org/support/users/stefan-m-1/)
 * (@stefan-m-1)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-custom-tables-not-expanding-shortcode/#post-2372387)
 * you can within my plugin. Only put in the {field} where you need them. It get
   automatically replaced.
 * Or make me same “draft” of what you wanna do with a picture aso. that I understand
   what you want.
 * Regards
 *  Thread Starter [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-custom-tables-not-expanding-shortcode/#post-2372403)
 * I just upgraded to version 2.0.
    Do you have any filters in the code? The shortcode
   in the overlay is not expanded. I put [myshortcode class={field1}] and I get [
   myshortcode class=”Field 1 text”] If you call do_shortcode() on the overlay, 
   my shortcode would be expanded.
 *  Plugin Author [Stefan M.](https://wordpress.org/support/users/stefan-m-1/)
 * (@stefan-m-1)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-custom-tables-not-expanding-shortcode/#post-2372437)
 * The filter for the overlay is called “wct_overlay”.
 * You can add new filters for this filter with:
 * add_filter(“wct_overlay”,”mynewfilter”);
 * function mynewfilter($content) {
    //change things return $content; }
 *  Plugin Author [Stefan M.](https://wordpress.org/support/users/stefan-m-1/)
 * (@stefan-m-1)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-custom-tables-not-expanding-shortcode/#post-2372545)
 * overlay shortcode has been fixed.

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

The topic ‘[Plugin: custom tables] not expanding shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-tables.svg)
 * [custom tables](https://wordpress.org/plugins/custom-tables/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-tables/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-tables/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-tables/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-tables/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-tables/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Stefan M.](https://wordpress.org/support/users/stefan-m-1/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-custom-tables-not-expanding-shortcode/#post-2372545)
 * Status: resolved