• Resolved vxnder

    (@vxnder)


    Hi there!

    I’m using the events calendar plugin and i found a bit trouble i can’t solve.
    I want to show the upcoming events and the ones that are currently ‘working’.

    The piece of code i got was this:
    <?php $events = tribe_get_events( [
    ‘posts_per_page’ => -1,
    ‘start_date’ => ‘now’,
    ] );
    ?>

    This shows me the upcoming events but once the starting date catch up, they disappear.
    I want them to disappear once the ending date is catched up

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Show events til the end date is gone’ is closed to new replies.