Support

Home Forums Event Espresso Premium Changing ID number

Changing ID number

Posted: June 20, 2016 at 11:31 am


Maccabee Levine

June 20, 2016 at 11:31 am

I have created multiple events for a single day for students to register for. I missed a time frame which cause the 12:30 time slot to be out of order and show up at the end. Is there a way to fix this?

http://quantum.esu.edu/admissions/?page_id=241


Tony

  • Support Staff

June 21, 2016 at 3:29 am

Hi there,

The ID of an event is auto_incremented as the rows are added to the database which means you cant manually change them without doing so directly within the database (we advise against editing the database directly)

Have you set the event time to the correct time for each of those events?

If the start time for each event is set to the correct time, like this – http://take.ms/PgLCo

Then you can order the list by start_time to change the order.

Your using the EVENT_LIST shortcode for those events so it would look something like this:

[EVENT_LIST event_category_id="event-list-test-1466500517" order_by=start_time]

(Note the event_category_id will be different for your event)

Note this will only work if you are using the category for a single set of events. Any event set to use the category you are using will be sorted by start time on that list.


Maccabee Levine

June 21, 2016 at 8:50 am

Where do I place the shortcode?


Tony

  • Support Staff

June 21, 2016 at 8:54 am

How are you displaying the events on this page currently? – http://quantum.esu.edu/admissions/?page_id=241

If you are using the EVENT_LIST shortcode there you can add order_by=start_time to the shortcode you are currently using.


Maccabee Levine

June 21, 2016 at 9:46 am

[EVENT_ESPRESSO_CATEGORY event_category_id=”october-4-1457719311″]


Tony

  • Support Staff

June 21, 2016 at 9:58 am

Ah ok, you can switch that out for:

[EVENT_LIST event_category_id=october-4-1457719311 order_by=start_time]

Which will give you the same listing ordered by the start time set within the events.


Maccabee Levine

June 21, 2016 at 10:47 am

Awesome, thanks Tony


Tony

  • Support Staff

June 21, 2016 at 10:56 am

You’re most welcome 🙂

The support post ‘Changing ID number’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso