Black Screen Issue: Please update your theme to ensure WordPress 5.6 compatibility. Dentalia 2.1 and Recycle 2.1 are now available on ThemeForest. 

Okay
  Public Ticket #2794618
Problem with @orion recent posts wid
Closed

Comments

  •  2
    wachusettearthday started the conversation

    Hi,

    I just noticed that my test website is not displaying posts correctly with @Orion Recent Posts widget.  I don't know when it started - I have updated plugins & wordpress in the interim.   

    If the post has an excerpt, then it displays properly.   The single post page display is OK.   I tried disabling PageBuilder but that didn't help. 

    I think the code being displayed in the post list is pulling in CSS?   Something like:

    We are CLOSED on July 3, 2021. @import url(https://www.wei-test1.wachusettearthday.org/wp-content/plugins/siteorigin-panels/css/front-flex.min.css); #pgc-2800-0-0 { width:100%;width:calc(100% - ( 0 * 30px ) ) }...

    I am attaching a screenshot.  I don't have a child theme yet.

    Thank you - misty

  •  531
    OrionThemes replied

    Hi Misty,

    I checked your site and was able to reproduce the issue. 

    If there is no excerpt on a post, the recent posts widget creates one from the post content. Basically it first makes sure the output is safe by removing any potentially "unsafe" code (Escaping output is a requirement for Envato authors), then it displays it. The problem appears when the Page builder plugin is set to "Include styles in Post Content". The best solution I can recommend at the moment is to disable this feature in Page builder.

    Please try the following:

    1. Go to Settings -> Page Builder -> Content and remove the checkmark next to "Copy Styles", like you can see on the screenshot below:

    6247984669.png

    2. Edit the post again (https://www.wei-test1.wachusettearthday.org/closed-july-3-2021/) and just click Save.

    This will resave the post (without the styles in the content field type).

    I've assigned a task to check, if we can by any chance improve the output in such case. We'll look into it and see if we can resolve it in the next update.

    Kind regards,

    Andrej

  •  2
    wachusettearthday replied

    Thank you for the fast response - especially since it was Friday afternoon here (US east coast)!

    It works fine now with the workaround.

    Misty

  •  531
    OrionThemes replied

    Hi Misty,

    I am glad the issue is resolved.
    We try to reply tickets as fast as possible, especially if it is friday and we already made plans for the weekend, knowing there will be little time for support.smile.png

    We are located in Slovenia, EU btw.

    Kind regards,

    Andrej