Limiting Word Count on ListView

Home Forums Calendar Products Events Calendar PRO Limiting Word Count on ListView

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #939429
    Razy
    Participant

    Hi,

    I am importing my events from Facebook (and they are mostly Mandarin). When I view the event in listview, it shows practically all of the event info there. I want to limit the number of characters shown to maybe 3 or 4 lines. Is there any easy way to do this without editing the code?

    Cheers!

    #939568
    Brian
    Keymaster

    Hi Again,

    Thanks for purchasing Facebook Events. I can help get you in the right direction.

    There is no feature to limit the characters be default.

    It does take a little coding that can be done following our themer’s guide:

    https://theeventscalendar.com/knowledgebase/themers-guide/

    Use that guide to move this template to your theme to safely edit:

    the-events-calendar\views\list\single-event.php

    There you would have to replace <?php the_excerpt() ?> with a function to limit the amount of content to how you would like it.

    Let me know if you have any follow up questions.

    Thanks

    #949511
    Brian
    Keymaster

    Since there is has not been any activity on this thread for over 2 weeks so I am now closing it. Feel free to start a new thread if you have further issues. Thanks! 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Limiting Word Count on ListView’ is closed to new replies.