Cynthia Lockley

My feedback

  1. 31 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    An error occurred while saving the comment
    Cynthia Lockley commented  · 

    This works for me. In you child theme's function.php file add the following:
    <?php
    // Events Calendar fix
    /*-----------------------------------------------------------------------------------*/
    /* Sort Events posts by creation date rather than start date
    /*-----------------------------------------------------------------------------------*/
    add_action( 'pre_get_posts', 'tribe_post_date_ordering', 51 );
    function tribe_post_date_ordering( $query ) {
    if ( $query->tribe_is_multi_posttype) {
    remove_filter( 'posts_fields', array( 'TribeEventsQuery', 'multi_type_posts_fields' ) );
    $query->set( 'order', 'DESC' );
    }
    }
    ?>

  2. 45 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    An error occurred while saving the comment
    Cynthia Lockley commented  · 
  3. 34 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    Cynthia Lockley shared this idea  · 

Feedback and Knowledge Base