• Resolved ba95472

    (@ba95472)


    // Changes past event views to reverse chronological order
    function tribe_past_reverse_chronological ($post_object) {
    $past_ajax = (defined( ‘DOING_AJAX’ ) && DOING_AJAX && $_REQUEST[‘tribe_event_display’] === ‘past’) ? true : false;
    if(tribe_is_past() || $past_ajax) {
    $post_object = array_reverse($post_object);
    }
    return $post_object;
    }
    add_filter(‘the_posts’, ‘tribe_past_reverse_chronological’, 100);

    add_action( ‘spacious_footer_copyright’, ‘spacious_footer_copyright’, 10 );

    /**

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

    (@tristan083)

    Hi @ba95472 ,

    Thank you for reaching out.

    The following knowledgebase article is handy for what you’re trying to accomplish here.

    Showing Past Events in Reverse Order

    Plugin Support Darian

    (@d0153)

    Hi there,

    It appears that we haven’t heard back from you in a while, so I’ll assume that the matter has been resolved. If you need any more help, feel free to start a new thread and we’ll be happy to assist you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.