-
AuthorPosts
-
December 21, 2016 at 1:31 am #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?
December 24, 2016 at 1:23 am #728085Hey 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,
YigitJanuary 31, 2017 at 7:09 pm #740832I’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
January 31, 2017 at 9:31 pm #740888Hey!
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!
BasilisApril 3, 2017 at 1:00 pm #771082Hi 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 8 years, 7 months ago by
Hayek.
April 4, 2017 at 6:52 am #771533 -
This reply was modified 8 years, 7 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
