Shorten de tekst events preview

Home Forums Calendar Products Events Calendar PRO Shorten de tekst events preview

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1361533
    Cristel Zwart
    Participant

    Hi! I’m looking for a way to make de preview tekst of the events shorter.
    I have a page with 9 events in masonry and want to make the tekst the same, around 3 lines.
    And when you click on the events you see tge rest of the tekst.
    I can not write code so I might need some help.

    #1361963
    Cristel Zwart
    Participant

    Hi! I’m looking for a way to make de preview tekst of the events shorter.
    I have a page with 9 events in masonry and want to make the tekst the same, around 3 lines.
    And when you click on the events you see tge rest of the tekst.
    I can not write code so I might need some help.

    #1362173
    Patricia
    Member

    Hey Cristel,

    Thank you for reaching out to us!

    To achieve what you want and change the excerpt lengths please add the following snippet in the end of your theme’s functions.php file (without the <?php tag):

    https://gist.github.com/nefeline/1d302462e9bb2891e87a226c1a775c6e

    In this example your excerpt length will be changed to 300.

    I hope this helps! Let me know if you have any other questions and I’ll be happy to assist!

    Best Regards,

    Patricia

    #1373865
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Shorten de tekst events preview’ is closed to new replies.