Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #726857

    I recently updated to the latest version of enfold and discovered that Masonry now strips HTML tags from excerpts. This broke a page on our site. According to the changelog, it looks like this might have been added in version 3.8.2.

    In other threads moderators suggested using the Advanced Excerpt plugin, but this does not work because of the way the excerpt is handled in Enfold.

    I had to change av-masonry-helper.php to restore previous functionality. I changed line 436 from this:
    $this->loop[$key]['content'] = strip_tags( $entry->post_excerpt );
    … to this:
    $this->loop[$key]['content'] = $entry->post_excerpt;

    Is there another way to allow HTML in excerpts in masonry without modifying the core theme code? Should I file a feature request for this?

    #728085

    Hey gerzy,

    Yes, please request – or vote if already requested – such feature on Enfold feature request form.

    Please also see – http://kriesi.at/documentation/enfold/using-a-child-theme/ and – http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/

    Best regards,
    Yigit

    #740832

    I’m having the same issue. Tried changing the code listed in this thread which made the links clickable but broke the layout of the masonry grid. Any ideas on how to fix this? I’m using Ver 3.8.4

    #740888

    Hey!

    Please create a different thread and both of you, list your web sites, so we can be able to review them.

    Thanks a lot

    Cheers!
    Basilis

    #771082

    Hi guys,

    I’m having the same issue: Masonry excerpt gets stripped of their html tags. This happened somewhere in the last half year, after my clients website was launched in October 2016.

    • This reply was modified 7 years, 7 months ago by Hayek.
    #771533

    Hi @Hayek,

    Could you post a link to the site in question so that we can take a closer look please?

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.