Hi @paul-hartman
Thanks for reaching out. Let me help you with this one.
If you haven’t tried it yet, please consider applying the following snippet and see if that helps:
/**
* Changes Past Event Reverse Chronological Order
*
* @param array $template_vars An array of variables used to display the current view.
*
* @return array Same as above.
*/
function tribe_past_reverse_chronological_v2( $template_vars ) {
if ( ! empty( $template_vars['is_past'] ) ) {
$template_vars['events'] = array_reverse( $template_vars['events'] );
}
return $template_vars;
}
// Change List View to Past Event Reverse Chronological Order
add_filter( 'tribe_events_views_v2_view_list_template_vars', 'tribe_past_reverse_chronological_v2', 100 );
// Change Photo View to Past Event Reverse Chronological Order
add_filter( 'tribe_events_views_v2_view_photo_template_vars', 'tribe_past_reverse_chronological_v2', 100 );
You can add the following snippet to your theme’s?functions.php
?file or by using the?Code Snippets?plugin.
As always, please test it first on a staging version of your live site to avoid unnecessary downtime to your live site. Let me know how it goes.