That would require some coding in your theme’s functions.php. Is that an option for you?
Thx for your fast reply.
Some coding in functions.php would be no problem, could you guide me a bit in the right direction?
thx!
You need to use the pre_get_posts
action to change the sorting order of the query. Something like:
add_action( 'pre_get_posts', 'change_events_order' );
function change_events_order( $query ) {
if ($query->get('post_type') == WPT_Event::post_type_name) {
$query->set( 'order', 'ASC' );
}
}
I didn’t test the code above, but it should get you started.
Thanks Jeroen! I’ll dive in this weekend.