Support » Plugin: Event List » Event order, AM/PM

  • Resolved errusso


    I added two events that take place on the same day, one is at 9:30 am and the other is at 7:30pm.

    In Event List, the 7:30 pm event is coming before the 9:30 am but I’d like for them to be in alphabetical order. Is there any place in the code to change this?

    Also, on the top of the events it says “Upcoming | 2014 | 2013”, is there any way to get 2013 before 2014?


Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author mibuthu


    For the second question you can edit line 307 in includes/sc_event-list.php to:
    for( $year=$first_year; $year<=$last_year; $year++ ) {

    For the first one I think the times actually should be in alpabetical order because you can enter any text for the time at the moment. In my opinion the times should be sorted according to the actual time if a correct time format is given. I will have a look at this in one of the next versions.

    I figured this out! If you enter military time (24 hour clock) into the time field, it gets interpreted into AM / PM when viewed in the event details and then it sorts everything in order of time. So 2PM is 14:00 and 2AM is 02:00 …. I tried this and it WORKED!

    Plugin Author mibuthu


    Thanks for the info. I will have a look at it.

    Hello, I am also trying to get my events to show in order of start time. I have multiple events in one day and right now, they are showing in the order I inputted them rather than the order of event start time. Can you help??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Event order, AM/PM’ is closed to new replies.