how do i remove the past events from the top of the event

Home Forums Calendar Products Events Calendar PRO how do i remove the past events from the top of the event

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #84311
    impact100
    Participant

    When we put in a new event, the third line is a link to a past event that is already done. how do I remove the top line and only have the past events show up at the bottom.

    #86745
    Kelly
    Participant

    Great question, impact100! The good news is that this is a quick fix that can be done with a quick template override for the the-events-calendar/views/single-event.php file.

    First, you’ll want to check out one of our tutorials on creating a template override so that you’re familiar with the steps involved. Here’s a good example: https://theeventscalendar.com/changing-labels-for-icalgoogle-calendar-links-in-a-single-event/ Then, you’ll want to do the same, but for removing the line of code that calls that link for the header portion:

    <li class="tribe-events-nav-previous"><?php tribe_the_prev_event_link( '&laquo; %title%' ) ?></li>

    Anyhow, please give it a go and let us know how it works for you! 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘how do i remove the past events from the top of the event’ is closed to new replies.