• Resolved lkordas

    (@lkordas)


    Hello,

    Is there any way i could show all events in list view, in the first page of the lsit view, beggining with the most recent, even if the it has now expired or it is a few months ago?

    kind regards,

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey there @lkordas!

    Thanks for reaching out — that’s a great question, I can help with that ??

    This is certainly possible, you’ll need to do a template override to do this. First check out our Themer’s Guide — it is a must-have resource for modifying The Events Calendar.

    You’ll need to override the-events-calendar/src/views/list/loop.php with a custom query something like:

    <?php
    global $post;
    $all_events = tribe_get_events(array(
    'eventDisplay' => 'all',
    'posts_per_page' => 10,
    )); ?>

    Hope that helps!

    Thread Starter lkordas

    (@lkordas)

    Thank you very much!

    draft query and the links helped a lot, however i stil cannot solve my problem even if i use the new query to override the basic loop.

    The first loop page (?tribe_paged=1) appears empty as all events have already finished.

    I have tried setting up “start_date” with no result.

    Kind regards

    Maybe this knowledgebase article will help you out → https://theeventscalendar.com/knowledgebase/show-past-events-in-chronological-order/

    Hi!

    Not much has happened within this topic, so I’m marking it as resolved.

    Don’t hesitate to reach out any time you need more help.

    Cheers,
    Ed ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘list view – show events even they expire in first page’ is closed to new replies.