• 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://www.ads-software.com/plugins/wr-pagebuilder/

Viewing 1 replies (of 1 total)
  • Plugin Contributor Adam

    (@hieudm)

    Hi @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.