Home › Forums › Welcome! › Pre-Sales Questions › Events Calendar: Previous Events
- This topic has 3 replies, 1 voice, and was last updated 10 years, 5 months ago by
Geoff.
-
AuthorPosts
-
December 11, 2015 at 8:14 am #1039663
John
GuestHello —
I am currently using the free events calendar plugin and are in the middle of redesigning our website. We are considering upgrading to events calendar pro as one of the biggest challenges that we are facing is the sort order on previous events in the list view. Basically, on page 1 of the previous events it brings the visitor back to the very first group of 10 events listed descending. So, the pagination is sorting ascending (older to newest) and then the order of the events on the page show newest to oldest.
For example, the very first set of events that we started were back in Nov 2013. So when i click page 1 of the previous events it brings be back to Nov 2013, then has them appear in a sequence like: Nov 30, Nov 23, Nov 16, Nov 9, Nov 2.
My expectation would be that it would be a straight descending sort order from newest to oldest and would just assume to pay if we can get this resolved.
Thanks.
December 11, 2015 at 4:46 pm #1039935Geoff
MemberHey John and thanks for getting in touch!
Yes, that would totally be possible by modifying the query of event posts when in the past view. For example, something like this snippet should do the trick:
https://gist.github.com/geoffgraham/053f8a6b2b450e9bf205
Cheers!
GeoffDecember 14, 2015 at 8:41 pm #1041279Louise
GuestHi Geoff & John,
This is also my issue. But I don’t know how to go to the back end of the calendar to add this coding.
I only have enough skill to make a basic site using a template. And when I’m on other pages I’ve created I have the choice of viewing it in “visual” or “text” and entering the code from the text display.
Are you able to give me direction to reach the coding behind the calendar?
Thank youDecember 15, 2015 at 6:57 am #1041651Geoff
MemberHi Louise, and thanks for chiming in.
If you’re looking for technical support, would you please open up a new thread here in our Events Calendar PRO forum? We use the Pre-Sales forum for questions about the features and capabilities of our premium plugins prior to purchase.
If you don’t have a license for one of our premium plugins to post in the forums, then you are also welcome to post in our open source forum instead. We also have a collection of articles in our Knowledgebase that can help.
I’ll go ahead and close this thread since it John’s question was answered but please feel free to open a new thread in our forums if any other questions pop up and we’d be happy to help as best we can. 🙂
Cheers!
Geoff -
AuthorPosts
- The topic ‘Events Calendar: Previous Events’ is closed to new replies.
