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?
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
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
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
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.