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?
Yes, please request – or vote if already requested – such feature on Enfold feature request form.
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
Please create a different thread and both of you, list your web sites, so we can be able to review them.
Thanks a lot
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.
You must be logged in to reply to this topic.