• Resolved dynastyice

    (@dynastyice)


    Trying to patch an old website until we get a revamp of new website.

    Before updating to version 6, and using legacy, this function worked.

    Is there something different for this going forward for V6?

    The homepage is a static page. Code previously used for retrieving Upcoming events was this.

    <?php
            $args = array('post_type' => 'tribe_events', 'post_status' => 'publish', 'posts_per_page' => 3, 'eventDisplay' => 'upcoming', 'orderby' => '_EventStartDate', 'order' => 'asc', 'meta_query' => array(
    array(
    'key' => '_EventStartDate',
    'value' => date( 'Y-m-d H:i:s' ),
    'type' => 'DATETIME',
    'compare' => '>',
    ),
    array(
    'key' => '_EventRecurrence',
    'compare' => 'EXISTS',
    ),
    ),);

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

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Upcoming Events’ is closed to new replies.