• Resolved paolaponceb

    (@paolaponceb)


    Hi!
    I used this code for creating a shortcode. I reviewed your documentation.

    $events = tribe_get_events( [ ‘posts_per_page’ => 4,
    ‘start_date’ => ‘today’,
    ] );
    but only get the current-day event, not events that started yesterday and will finish tomorrow like here: https://staging2.revistamundodiners.com/agenda-cultural/

    Is there a solution?

    Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Darian

    (@d0153)

    Hi @paolaponceb

    Thanks for reaching out.

    You could try removing start_date’ => ‘today’,, and it should return ongoing and upcoming events.

    I hope this helps, and please let me know if you have further questions or concerns.

    Plugin Support Darian

    (@d0153)

    Hi @paolaponceb

    We haven’t heard from you in a while, so I’m going to mark this as resolved. Feel free to start a new thread if you have any more questions.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Events with several days’ is closed to new replies.