Home › Forums › Calendar Products › Events Calendar PRO › Formatting from excerpts disappeared after update
- This topic has 12 replies, 5 voices, and was last updated 10 years, 2 months ago by
Geoff.
-
AuthorPosts
-
December 17, 2015 at 7:54 am #1042941
andersonparks
ParticipantThe excerpt that appears in the list view used to show html, now it does not. I have gone through hundreds of events and formatted them specifically to show in the list view properly and it was working fine until one of the last updates. It has been removed. Please advise.
Thanks,
please note this is a dev site so refer to the system Information for the url as it does not display the whole url in your selection dropdownDecember 18, 2015 at 6:07 am #1043572Brian
MemberHi,
Sorry for the issues here.
This is html formatting in the excerpt field correct?
It appears to be an unintended change in 4.0 if so.
Let me know.
Thanks
December 18, 2015 at 6:34 am #1043588andersonparks
ParticipantYes, the html formatting in the excerpt. Was there, now it’s gone. Let me know if you are pushing update to fix or if there is something that we have to do on our end.thanks
December 18, 2015 at 12:11 pm #1043761Brian
MemberOk thanks for the information.
This is indeed a known issue with how excerpts are parsed in the plugin and we’re working on a fix. In the meantime, please try the adding this snippet to your theme’s functions.php file and it should resolve the issue for now:
https://gist.github.com/ggwicz/ba85b0f9aa4dadbda538
Will that work for you? Please let me know.
December 21, 2015 at 10:47 am #1044801andersonparks
ParticipantI do not see a snippet in this response, could you try adding again?
December 22, 2015 at 2:01 pm #1045595Nico
MemberHey Allison,
Seems to code didn’t came through. I’ll paste it again:
https://gist.github.com/ggwicz/ba85b0f9aa4dadbda538
Hope that helps for now,
Best,
NicoJanuary 12, 2016 at 9:28 am #1054692andersonparks
ParticipantI added that code and while it is working for anything wrapped in it is not working for line breaks <br />
so it is not including all html. Is there a way to amend that or do you know when the update is coming that will resolve this?thanks!
January 12, 2016 at 9:30 am #1054695andersonparks
Participantoops, it adding the
<strong>to my thread. Anyway if that was confusing, it is working with the strong tag but not the break tagJanuary 13, 2016 at 8:46 am #1055346Brian
MemberHi,
No worries about the tag there.
I am looking at the coding and it appears the <br> tag is removed before that filter even gets to it.
I came up with a snippet that worked for me.
Add this to your theme’s functions.php:
https://gist.github.com/jesseeproductions/f123e1aa51c774e9900f
Let me know if that works for you.
THanks
February 17, 2016 at 8:02 pm #1074751Shannon
ParticipantI am having this same issue, and it is maddening. I have tried many things, including the snippets above, and nothing seems to preserve formatting in excerpts, in list or photo view.
Please let me know when this is fixed.
February 17, 2016 at 8:15 pm #1074754Shannon
Participant… and no sooner than I post, the 4.0.6 update is out, and its fixed!
Thanks team 🙂
February 18, 2016 at 4:50 am #1074835Brian
MemberGreat, glad it helps, I am going to go ahead and close this ticket, but if you need help on this or something else please post a new ticket.
Thanks!
February 18, 2016 at 9:28 am #1077101Geoff
MemberHey there!
Just wanted to jump in here and let you know that we released The Events Calendar 4.0.6 last night and it included a fix for this issue. Please check your WordPress updates, or you can also grab the latest copy over at WordPress.org.
Thanks for your patience while we worked on this! Please feel free to open a new thread if you continue to experience the same issue or have any other questions that pop up during updating and we’d be happy to help. 🙂
Cheers!
Geoff -
AuthorPosts
- The topic ‘Formatting from excerpts disappeared after update’ is closed to new replies.
