WordPress.org

Ready to get started?Download WordPress

Forums

Event List
Event order, AM/PM (5 posts)

  1. errusso
    Member
    Posted 11 months ago #

    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?

    Thanks!

    http://wordpress.org/extend/plugins/event-list/

  2. mibuthu
    Member
    Plugin Author

    Posted 11 months ago #

    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.

  3. imaginaut
    Member
    Posted 8 months ago #

    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!

  4. mibuthu
    Member
    Plugin Author

    Posted 7 months ago #

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

  5. pearlbrands
    Member
    Posted 7 months ago #

    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??

Reply

You must log in to post.

About this Plugin

About this Topic