Viewing 1 replies (of 1 total)
  • Plugin Support Abz

    (@abzlevelup)

    Hi @senadheera, thanks for reaching out to us. Out of the box, there’s no option for this one, however, this should be possible with Template Override.

    Override this template in your own theme:
    the-events-calendar/src/views/v2/list/event/description.php
    by creating a file at:
    [your-child-theme]/tribe/events/v2/list/event/description.php

    Then, insert the code with this code here:

    <div class="tribe-events-calendar-list__event-description tribe-common-b2 tribe-common-a11y-hidden">
     <p>
     <?php if (strlen(get_the_excerpt()) >= 150):?>
     <?php echo (string) rtrim(str_replace(' ', '', substr(get_the_excerpt(), 0, 150))); ?>... <?php print '<a class="more-link" href="' . get_permalink() . '">Read More</a>'; ?>
     <?php else: ?>
     <?php echo (string) $event->excerpt; ?>
     <?php endif; ?>
     </p>
    </div>

    Lastly, I want to note here that as per our Support Policy, we cannot provide full support for Customizations or third-party integrations, even if we have a guide on our Knowledge base. It is still up to you as the end user to implement this. https://theeventscalendar.com/knowledgebase/k/what-support-is-provided-for-license-holders/

    Let me know how it goes on your end.

    Best,
    Abz

Viewing 1 replies (of 1 total)
  • The topic ‘[NSFW] Add Read more button list view’ is closed to new replies.