Home>Support>Siteorigin panels its adding p and br tags on widgets

Siteorigin panels its adding p and br tags on widgets

Site origins was adding p and br tags on my theme whenever the php file has line breaks. it was even breaking the site origin bundles button widget had to remove linebreaks from the template php file. ive seen it happen on the gravity forms and post loop widget as well.

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

  1. 8 years, 8 months ago Xavier Serrano

    i believe i have resolve it myself, apparently i had a line removing and re-adding the wpautop filter on the content on level 12 which was adding the filter at the wrong place

  2. 8 years, 7 months ago Vishesh Rai Buffett

    Hi, site origin widget bundle is sometimes breaking the whole page and nex forms. Nex-Form support has told us that the page and form is breaking just because of irrelevant

    added in the widget.

    Please help us with this urgently. Our website: LoanUncle.org

    A prompt reply would be appreciable. Thanks.

  3. 8 years, 7 months ago Alex S
    Hi, I Work Here

    Hi Vishesh Rai Buffett,

    Can you provide visual example of what you mean? I can’t seem to find one.

  4. 8 years, 4 months ago Calle Bjernekull

    I have the same issue with widgets that sometimes breaks a whole page, and it might be because Pagebuilder sometimes adds only the closing tag

    I have a widget called “front-hero” and the display-template looks like this:
    code1

    When looking at html-source it comes out like this:
    source-error

    But saving the widget-template with Unicode line separators, solved it for me:
    unicode

    However, now still gets these annoying extra p-tags. But at least I’ve got validated HTML:
    source-ok

    • 8 years, 4 months ago Alex S
      Hi, I Work Here

      Hi Calle,

      Just to clarify: Are you the developer of said widget? If so could you send me a copy of this widget so I can inspect it?

      If you’re not, I’m unable to really comment on it due to being unfamiliar with the widget itself. I’m only able to provide instructions for SiteOrigin Widgets and the only widget of ours where this happens is so edge case it’s not funny.

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