Change sorting order of event listings
-
hello and first let me say how wonderful your plugin is! we have been testing and experimenting with it a good deal and right away it has almost everything I need for a new site I am working on.
in fact I may even be migrating to the pro version of this plugin – especially if I learn that it can offer what we are after here. I did check out the documentation for the pro version and do not see that this feature we need is available though. so here we go….
I see that as new events are added that overlap on any one particular day, they are sorted and displayed in a list in a particular order. through trial and error I have found that this is sorted and displayed by at least 2 sets of criteria:
first – by the day the actual event starts on.
second – by the date the event was added to the system – i.e. the “post date”
so two events that start on the same date will show the event added to the system first at the top of the list – or the post date.
whereas two events that overlap but start on different days will always show the event that will start soonest first rather than the day the event was added to the site even if the event that starts later was added first.
follow so far?
what I need to do, urgently, is to switch the order by which this plugin is sorting those events in the list display. hence I want the first criteria to sort by to be the post date always / only.
is that possible?
I think I can live with just removing the filter that sorts by event start date all together and still get the desired effect. but if they can just as easily be switched in order of which criteria is applied first I would be fine with that too.
can you offer any advice or perhaps point me to the part of the plugin code where I may be able to “hack” some change in PHP to change this filtering scheme?
thanks in advance!!
- The topic ‘Change sorting order of event listings’ is closed to new replies.