• Resolved jagudesign

    (@jagudesign)


    How can we sort the events by start date? Currently, there is no option to sort the events by start date in the frontend. We can sort by event created date.
    Please help us asap.

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

Viewing 1 replies (of 1 total)
  • Hey there,

    Thanks for reaching out ??

    Sorry for the wait! We’ve been experiencing a high volume of support requests.

    Though I’m limited to the amount of support I can provide for customizations, I’ll give you a snippet to get started with:

    $args = array(
    		'post_type' => 'tribe_events',
    		'posts_per_page' => 3,
    		'orderby' => '_EventStartDate',
    		'order' => 'DESC'
    );
    query_posts($args);

    Hope that helps!

    Take care,
    Ed ??

Viewing 1 replies (of 1 total)
  • The topic ‘Sorting Events by Start Date’ is closed to new replies.