Events Calendar: Previous Events

Home Forums Welcome! Pre-Sales Questions Events Calendar: Previous Events

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1039663
    John
    Guest

    Hello —

    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.

    #1039935
    Geoff
    Member

    Hey 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!
    Geoff

    #1041279
    Louise
    Guest

    Hi 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 you

    #1041651
    Geoff
    Member

    Hi 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

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Events Calendar: Previous Events’ is closed to new replies.