When I insert a product shortcode from the WP-E-Commerce plugin (WPEC), in either a text widget or a Black Studio TinyMCE Widget, the content that the shortcode produces is reformatted by wpautop (or whatever the Page Builder uses) and litters the code with paragraph tags, drastically breaking the design with tons of blank space.
If I insert the shortcode [wpsc_products product_id=’##’] using the default page editor, it works fine and everything looks great, so it is not a problem with the shortcode or the WPEC plugin. I tried using both a standard text widget and a Black Studio TinyMCE Widget in the Page Builder editor and get the same results.
Any ideas?
Hi Chris
To narrow this down can you see what Black Studio does with this shortcode when you insert the both into a regular widget area and not Page Builder. By them both I mean insert Black Studio with the shortcode into a standard widget area.
Thanks
Hi Andrew,
In a normal sidebar widget, the Black Studio widget does the same thing – it has extra paragraph tags which add a bunch of extra space, breaking the design. However, a regular text widget correctly displays the content generated by the shortcode. I published a test page here: http://vintagelds.webguru-webdesigns.com/test/.
In the regular text widget, if I check the box that says “Automatically add paragraphs”, then it looks the same (or very similar) to the content generated by the Black Studio widget. Could it be that this setting is not accounted for when using a regular text widget in the Page Builder?
In testing I did now, the Text widget doesn’t insert paragraphs in a Page Builder layout unless the checkbox is selected. Is it definitely inserting paragraphs on your side?
Here is another widget you might try:
https://wordpress.org/plugins/enhanced-text-widget/
I found the problem. I had some other situations where I was trying to use WP-No-Format (an old plugin that still works in the normal editor, but does not work with Page Builder). Even though I wasn’t using it anywhere, it was still having an effect. Disabling that plugin has fixed things, now the regular text widget works as expected. The Enhanced Text Widget plugin also works, but the Black Studio widget still adds paragraph tags.
Thanks for the update Chris. Glad to hear you’re now able to proceed. All the best.