Viewing 1 replies (of 1 total)
  • Hi Stochi,

    The solution is that _EventEndDate needs to be changed to _EventStartDate in the code. Sorry I haven’t had time to update the plugin yet. Look for this code and edit End to Start.

    This will be fixed in the next release of the plugin

    $posts = get_posts( array(
    ‘post_type’ => ‘tribe_events’,
    ‘posts_per_page’ => $ecs_limit,
    ‘tax_query’=> $ecs_event_tax,
    ‘meta_key’ => ‘_EventEndDate’,
    ‘orderby’ => ‘meta_value’,
    ‘order’ => $ecs_order,
    ‘meta_query’ => array(
    array(
    ‘key’ => ‘_EventEndDate’,
    ‘value’ => date(‘Y-m-d’),
    ‘compare’ => ‘>=’,
    ‘type’ => ‘DATETIME’
    )
    )

Viewing 1 replies (of 1 total)
  • The topic ‘Start and end date are displayed as the same.’ is closed to new replies.