Title: Problem using shortcodes inside text element
Last modified: August 22, 2016

---

# Problem using shortcodes inside text element

 *  [Anh Tran](https://wordpress.org/support/users/rilwis/)
 * (@rilwis)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/problem-using-shortcodes-inside-text-element/)
 * Hi WR team,
 * Thanks for giving us a great plugin. It’s amazing, lots of features and elements.
 * However, I have a problem using shortcodes inside text element. I’m using WooCommerce,
   and when I try to insert WooCommerce’s shortcode:
 * `[recent_products per_page="4" columns="4" orderby="date" order="asc"]`
 * inside text element, there are 2 problems happen:
 * – The preview shows error:
 * > Fatal error: Call to undefined function woocommerce_product_loop_start() in/
   > home/fitwpaho/public_html/themes.fitwp.com/wp-content/plugins/woocommerce/includes/
   > class-wc-shortcodes.php on line 327
 * – When I try to save the element and click save (or publish) the page, I get 
   the same error.
 * My guest is you’re trying to parse shortcodes **in the admin area** where WooCommerce
   files have probably not been loaded.
 * My suggestion is keep the shortcodes as they are, cause you can’t parse all shortcodes
   from other plugins and that breaks the editing process.
 * By the way, the plugin is great. I love it!
 * [https://wordpress.org/plugins/wr-pagebuilder/](https://wordpress.org/plugins/wr-pagebuilder/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Adam](https://wordpress.org/support/users/hieudm/)
 * (@hieudm)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/problem-using-shortcodes-inside-text-element/#post-5439570)
 * Hi [@tran](https://wordpress.org/support/users/tran/) Ngoc Tuan Anh,
 * Many thanks for your feedback, I sent a request to development team so I can 
   take a look at this problem.
 * If you still have any question or need any further assistant, don’t hesitate 
   to let me know.
 * Best regards,
 * Adam.

Viewing 1 replies (of 1 total)

The topic ‘Problem using shortcodes inside text element’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wr-pagebuilder_4b6759.svg)
 * [Page Builder by WooRockets.com](https://wordpress.org/plugins/wr-pagebuilder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wr-pagebuilder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wr-pagebuilder/)
 * [Active Topics](https://wordpress.org/support/plugin/wr-pagebuilder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wr-pagebuilder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wr-pagebuilder/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Adam](https://wordpress.org/support/users/hieudm/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/problem-using-shortcodes-inside-text-element/#post-5439570)
 * Status: not resolved