Title: WooCommerce Shortcode Inside [expand]?
Last modified: August 21, 2016

---

# WooCommerce Shortcode Inside [expand]?

 *  [Interfluence](https://wordpress.org/support/users/interfluence/)
 * (@interfluence)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-shortcode-inside-expand/)
 * Cool plugin! Works well for everything it says it does, and we’ll find many more
   uses for it.
 * We’re having one problem though. We see in [this post](http://wordpress.org/support/topic/use-shortcode-inside-expand?replies=2)
   that Contact Form 7 shortodes should work, but we can’t seem to get a certain
   WooCommerce shortcode to work.
 * We’d like to be able to have the name of a product inline with body text, and
   have the content expand when the user clicks the link.
 * We’ve tried variations like this:
 * `[expand title="6 x 10 mailers" targtag="span" targpos="inline"] [[product id
   ="667" sku=""]] [/expand]`
 * But that just makes the product shortcode appear to the right of the text. If
   we do it like this (without the spaces around the Woo shortcode):
 * `[expand title="6 x 10 mailers" targtag="span" targpos="inline"[[product id="
   667" sku=""]][/expand]`
 * The product displays, but won’t toggle or hide.
 * Any suggestions?
 * Thanks in advance for your help. Cool plugin.
 * [https://wordpress.org/plugins/jquery-collapse-o-matic/](https://wordpress.org/plugins/jquery-collapse-o-matic/)

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

 *  Thread Starter [Interfluence](https://wordpress.org/support/users/interfluence/)
 * (@interfluence)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-shortcode-inside-expand/#post-5135143)
 * Oops! We read “Read This Before You Post!” but missed the line about including
   a link. Here it is, with each example:
 * [http://masterandfool.com/2014/07/plug-in-tests/](http://masterandfool.com/2014/07/plug-in-tests/)
 *  Thread Starter [Interfluence](https://wordpress.org/support/users/interfluence/)
 * (@interfluence)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-shortcode-inside-expand/#post-5135224)
 * We just purchased the plugin. It’s cool enough on its own for such a low price!
 * So we will follow up with your premium support instead of waiting for a reply
   here; we are fairly sure there is a simple solution but have ants in our pants.
 *  Plugin Author [Baden](https://wordpress.org/support/users/baden03/)
 * (@baden03)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-shortcode-inside-expand/#post-5135239)
 * Sorry, we could not respond sooner. Thank you for purchasing the pro version.
   We will respond to you direct via email. Once a solution is found, we will also
   post that back here to resolve this issue and maybe help others with a similar
   issue.

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

The topic ‘WooCommerce Shortcode Inside [expand]?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jquery-collapse-o-matic_fffeff.svg)
 * [Collapse-O-Matic](https://wordpress.org/plugins/jquery-collapse-o-matic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jquery-collapse-o-matic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jquery-collapse-o-matic/)
 * [Active Topics](https://wordpress.org/support/plugin/jquery-collapse-o-matic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jquery-collapse-o-matic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jquery-collapse-o-matic/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Baden](https://wordpress.org/support/users/baden03/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-shortcode-inside-expand/#post-5135239)
 * Status: not resolved