Home>Support>WP Canvas Shortcodes Compatibility Issue with PageBuilder (even with Black Studio TinyMCE Widget)

WP Canvas Shortcodes Compatibility Issue with PageBuilder (even with Black Studio TinyMCE Widget)

Thanks for all the effort making PageBuilder such a useful plug-in. I really would like to use this plug-in for landing pages on my site. But I am running into two problems.

I make extensive use of the WP Canvas Shortcodes plug-in (https://wordpress.org/plugins/wc-shortcodes/).

First Problem: Activating the PageBuilder plug-in removes the WP Canvas Shortcodes menu from TinyMCE.

Second Problem: Any page not using PageBuilder that have WP Canvas Shortcodes work just fine. But any PageBuilder page, ignores the WP Canvas Shortcodes and does all the other shortcodes.

For example…

Activating the Black Studio TinyMCE widget, making a row, then adding a Visual Editor widget, then using any shortcode from WP Canvas Shortcodes. Result: the PageBuilder page ignores the short codes form WP Canvas but does all the other short codes.

Any ideas of what I could do to address the two problems?

URL: http://www.littlegirldesigns.com/wp-canvas-shortcodes-ignored/?ppt=eea26880755c163b78e0347e64fec36b

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Hi Moraitis

    Thanks for reaching out.

    Could you please, try testing shortcodes in:

    1. The Text tab of the Visual Editor widget.
    2.The Text tab of the SiteOrigin Editor widget.
    3. In the regular WP Text widget.

    All in Page Builder. Any change?

  2. 9 years, 29 days ago moraitis

    All three conditions seem to be the same…
    http://www.littlegirldesigns.com/wp-canvas-shortcodes-ignored/?ppt=eea26880755c163b78e0347e64fec36b

    Should I test them under different conditions?

    One thing I did notice… The enclosing shortcodes do not work, but the self-enclosing shortcodes from WP Canvas work just fine.

    I have a line of PHP code in the functions.php that asks to process short codes with widgets:

     add_filter('widget_text', 'do_shortcode'); 

    Do I need any other codes in my functions.php of the child theme to help?

  3. 9 years, 29 days ago Andrew Misplon
    Hi, I Work Here

    Thanks for all the effort! Confirmed on my side too. I’m doubtful there will be a quick fix for this. Let me chat to Greg a little later and come back to you on this.

  4. 9 years, 27 days ago Andrew Misplon
    Hi, I Work Here

    Thanks again for bringing this forward. Unfortunately, no quick fix. I’m logging as a bug for the guys to attend to as soon as they’re able.

  5. 9 years, 15 days ago moraitis

    Thanks for looking into this issue.

    One quick note I did not notice from the test page… All the self-enclosing short codes from WP canvas work just fine. For example, the thin horizontal lines are self-enclosed WP Canvas short codes. The codes that failed to render are the enclosing short codes with text or additional short codes nested within.

    I did another test wondering if enclosing short codes are the problem. In my test I made an enclosing short code and self-enclosing short code in my child theme’s functions.php file. Both short codes worked as expected. Here is my short code test:

    // Self-enclosed shortcode example in child theme functions.php -- [hello_self_enclosed greeting="hello"]
    function hello_self_enclosed_func( $atts , $content = null ) {
    	// Attributes
    	$a = shortcode_atts(
    		array(
    			'greeting' => 'hello',
    		), $atts );
    	// Output
       return esc_attr($a['greeting']) . ' world' ;}
    add_shortcode( 'hello_self_enclosed', 'hello_self_enclosed_func' );
    
    // Enclosed shortcode example in child theme functions.php -- [hello_enclosing greeting="hello"]I would like to say[/hello_enclosing]
    function hello_enclosing_func( $atts , $content = null ) {
    	// Attributes
    	$a = shortcode_atts(
    		array(
    			'greeting' => 'hello',
    		), $atts );
    	// Output
       return do_shortcode($content) . ' ' . esc_attr($a['greeting']) . ' world' ;}
    add_shortcode( 'hello_enclosing', 'hello_enclosing_func' );

    Hope this helps the team narrow down the problem.

  6. 9 years, 12 days ago Pils Schouler

    Hi

    not sure if I’m on the right track here, but I activated wp-canvas shortcodes FIRST then activated PageBuilder and it all works. One still has the shortcodes icon on the Edit page / View toolbar.

    However, when one adds the SiteOrigin Widgets, THEN it disappears!

    I’ve tried two separate installs in this way and can deactivate SiteOrigin Widgets and the shortcodes icon returns.

    :#
    :]

  7. 9 years, 12 days ago Andrew Misplon
    Hi, I Work Here

    Thanks for all the feedback here guys. Much appreciated. I can confirm that I’ve logged this issue for Greg or Braam to attend to here at SiteOrigin. Our goal is 100% compatibility. There is a lot that can be done from the plugin author side to get their plugins compatible with Page Builder and TinyMCE widgets. We have managed to solve issues like this in the past. It usually requires a solid block of development hours, so it’s something that has to be prioritised and schedule din the queue. We’re a really small team at the moment.

    Thanks again for the super useful and well presented feedback above.

  8. 9 years, 12 days ago Pils Schouler

    Thank you too. Some brilliant work, for ‘a really small team’, so – well done!

  9. 9 years, 12 days ago Andrew Misplon
    Hi, I Work Here

    Thanks for your support, it’s most appreciated.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More