Home>Support>Page Builder and WP-E-Commerce Shortcodes and wpautop

Page Builder and WP-E-Commerce Shortcodes and wpautop

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?

URL: http://vintagelds.webguru-webdesigns.com/category-one/

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

  1. 10 years, 3 days ago Andrew Misplon
    Hi, I Work Here

    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

  2. 10 years, 3 days ago Chris Peacock (WebGuru)

    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?

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

    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/

  4. 10 years, 2 days ago Chris Peacock (WebGuru)

    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.

  5. 10 years, 2 days ago Andrew Misplon
    Hi, I Work Here

    Thanks for the update Chris. Glad to hear you’re now able to proceed. All the best.

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