Popular Posts View Widget Error

This topic contains 7 replies, has 3 voices, and was last updated by  Paolo 9 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #50454

    key360
    Expired Member
    Post count: 70

    The Popular Posts View Widget excerpt does not strip out images that are used as the first block in the content area. Please see the attached. We also encountered an issue with YouTube videos placed via iFrame as the first block within the content area. It caused a JS error that stopped most elements on the page from loading. We removed it because it messed up the entire home page.

    I don’t know if the issue of stripping out images and other non-text content from excerpts is a problem across the board with all your widgets, but it’s definitely worth reviewing the code for other widgets to make sure that the excerpt is functioning properly.

    #50456

    key360
    Expired Member
    Post count: 70
    This reply has been marked as private.
    #50481

    Guust
    Moderator
    Post count: 29970

    That should not happen with the latest version. The HTML stripping was fixed. Are you using the latest GD?
    https://wpgeodirectory.com/change-logs/#v1.5.1
    Popular post view widget is no longer stripping HTML in the excerpt – FIXED

    To add YouTube videos without any problems, you should use the special video custom field.
    WP does not like iframes in posts.

    #50541

    Paolo
    Site Admin
    Post count: 31206

    Confirmed, yo uare still using 1.5.0. Please update core and all addons.

    Thanks

    #50585

    key360
    Expired Member
    Post count: 70

    Thanks, guys!

    #50657

    Paolo
    Site Admin
    Post count: 31206

    You are welcome! 🙂

    #52739

    key360
    Expired Member
    Post count: 70

    Hi,

    We’re still having issues with iframes not being stripped from widget excerpts and this is causing an error which results in the rest of the page not loading. I know you said that WP doesn’t like users to use iframes in posts, but they can still be added by a user. It is an html tag and should be stripped along with the other html tags.

    Thanks!

    #52861

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    the excerpt should already strip all html. Please provide a link were we can see the error.

    Thank you

Viewing 8 posts - 1 through 8 (of 8 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount