• Resolved rebecca

    (@rebeccayoung)


    Hi,

    Is there a way to show only show part of an event’s description, when viewing a list of events in agenda view? For example, the first paragraph?

    The rest of the description’s content should only be viewable when a user clicks on the ‘Read More’ button. I tried using the WordPress <!–more–> feature when editing the description in text mode, but this made no difference.

    I should add that I’d like to keep the list of events expanded in agenda view.

    Thank you!

    https://www.ads-software.com/plugins/all-in-one-event-calendar/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Rebecca,

    all-in-one-event-calendar/public/themes-ai1ec/vortex/twig -> agenda.twig, line 67, replace:
    {{ event.filtered_content | raw }}
    with:
    {{ event.post_excerpt | truncate( 80 ) | raw }}

    “80” is the number of characters.

    Thanks,
    Ben

    Thread Starter rebecca

    (@rebeccayoung)

    Perfect – thank you!

    No problem Rebecca, glad I could help ??

    If you’re enjoying your calendar can you please review us on www.ads-software.com to help others connect easier into your and our Time.ly network? Review form can be found here: https://goo.gl/oJu0Jf

    Thank you for your time. We appreciate it!
    Ben

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Show only excerpt of event description in agenda view?’ is closed to new replies.