How to show all events in campaign trail

Please follow these instructions:

1. open inc/php/the-events-calendar.php
2. find this line:

'eventDisplay'=> 'upcoming',

and change it to read:

'eventDisplay'=> 'all',

This will allow you to have all events – not just upcoming ones – in your campaign trail. Events will be shown in ascending order – from older to newer.

However, there is a way to show events in descending order, just add this line:

'order' => 'DESC',

below above changed line. So, your code will look like this:

'eventDisplay'=> 'all',
'order' => 'DESC',

0