Formatting from excerpts disappeared after update

Home Forums Calendar Products Events Calendar PRO Formatting from excerpts disappeared after update

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1042941
    andersonparks
    Participant

    The 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 dropdown

    #1043572
    Brian
    Member

    Hi,

    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

    #1043588
    andersonparks
    Participant

    Yes, 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

    #1043761
    Brian
    Member

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

    #1044801
    andersonparks
    Participant

    I do not see a snippet in this response, could you try adding again?

    #1045595
    Nico
    Member

    Hey 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,
    Nico

    #1054692
    andersonparks
    Participant

    I 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!

    #1054695
    andersonparks
    Participant

    oops, it adding the <strong> to my thread. Anyway if that was confusing, it is working with the strong tag but not the break tag

    #1055346
    Brian
    Member

    Hi,

    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

    #1074751
    Shannon
    Participant

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

    #1074754
    Shannon
    Participant

    … and no sooner than I post, the 4.0.6 update is out, and its fixed!

    Thanks team 🙂

    #1074835
    Brian
    Member

    Great, 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!

    #1077101
    Geoff
    Member

    Hey 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

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Formatting from excerpts disappeared after update’ is closed to new replies.