Title: embed shortcode in tablepress
Last modified: August 21, 2016

---

# embed shortcode in tablepress

 *  [nilanjanb](https://wordpress.org/support/users/nilanjanb/)
 * (@nilanjanb)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/embed-shortcode-in-tablepress/)
 * I am facing problems embedding the amazon link shortcode in tablepress.
    I was
   advised to add this to functions.php: add_filter( ‘tablepress_cell_content’, 
   array( $GLOBALS[‘awlfw’], ‘content_filter’ ) );
 * However, it makes the table disappear.
 * I’d appreciate any help
 * – Nilanjan
 * Here are the steps i followed:
    1. Create a table 2. Paste this in one of the
   cells: [amazon asin=”1593275277″&text=”ruby under a microscope”] 3. create a 
   page with the table shortcode 4. Add the shortcode for the preview: [amazon template
   =preview script]
 * [http://wordpress.org/plugins/amazon-link/](http://wordpress.org/plugins/amazon-link/)

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

 *  Plugin Author [paulstuttard](https://wordpress.org/support/users/paulstuttard/)
 * (@paulstuttard)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/embed-shortcode-in-tablepress/#post-4345271)
 * Hi Nilanjan,
 * I’ll look into it, might just be a case of changing the priority of the plugin.
 * Paul
 *  Plugin Author [paulstuttard](https://wordpress.org/support/users/paulstuttard/)
 * (@paulstuttard)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/embed-shortcode-in-tablepress/#post-4345274)
 * Hmmm,
 * I’ve installed TablePress and created a table with 3 amazon shortcodes in.
 * Then I created a post and put the Tablepress shortcode in the post then underneath
   that I put the preview shortcode:
 *     ```
       [table id=1 /]
   
       [amazon template=preview script]
       ```
   
 * All three amazon links display as expected and the preview popup works too (with
   adblock disabled).
 * Must be more to this than meets the eye!
 * Have you any other plugins installed that might clash? e.g. Other Amazon Link
   plugins, or a Caching plugin?
 * Paul
 *  Thread Starter [nilanjanb](https://wordpress.org/support/users/nilanjanb/)
 * (@nilanjanb)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/embed-shortcode-in-tablepress/#post-4345276)
 * Hi Paul,
 * Thanks for the quick response. Did you have to make the change in functions.php(
   mentioned in my first post)?
 * I tried this on another of my sites – it seems to work fine.
 * Not sure how to troubleshoot this. I don’t have any caching plugins. Not sure
   if this is related to the theme. I am using [http://alienwp.com/themes/origin/](http://alienwp.com/themes/origin/)
 * Thanks again.
    – Nilanjan
 *  Plugin Author [paulstuttard](https://wordpress.org/support/users/paulstuttard/)
 * (@paulstuttard)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/embed-shortcode-in-tablepress/#post-4345279)
 * Hi,
 * No I didn’t need to add the code:
 *     ```
       add_filter( 'tablepress_cell_content', array( $GLOBALS['awlfw'], 'content_filter' ) );
       ```
   
 * It just worked straight away.
 * Do you know where you’re PHP warnings and errors are logged? If you have any 
   sort of control panel with your web host there should be a link to the error 
   log somewhere.
 * Paul

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

The topic ‘embed shortcode in tablepress’ is closed to new replies.

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

## Tags

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

 * 4 replies
 * 2 participants
 * Last reply from: [paulstuttard](https://wordpress.org/support/users/paulstuttard/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/embed-shortcode-in-tablepress/#post-4345279)
 * Status: not resolved