Posted: February 13, 2013 at 9:40 am
|
We’ve created a page where we list all the public events we’re offering (using the shortcode below) & Event Espresso very nicely adds the “Register” link for each one. [EVENT_ESPRESSO_CATEGORY event_category_id=”event-public-1354057023″] QUESTION: How can we “order” the events on this page? Specifically, we have three events that we’d like to order like this: The way it’s showing up now . . . the Event B is showing up before Event A. I think that’s happening because Event A begins on the same date as Event B HOWEVER it ends on the next day. Help? |
Hi there, You can try: [EVENT_LIST category_identifier=your_category_identifier order_by=date(start_date),id] If Event B has a higher number ID, that should make event A list first, even though they have the same start date. |
|
|
I’m not quite getting how to do this and could use more help. Two things specifically: (1) how to change the ID number for the event. If I knew how to change the ID number, I think I could manipulate the order. (2) specifics on the short-code — I replaced what I had by adding to it as per your instructions . . . but when I did, the whole group of workshops disappeared from the actual page. So I put it back the way it was. Here’s what I had first: [EVENT_ESPRESSO_CATEGORY event_category_id=”event-public-1354057023″] then I replaced that one with this: [EVENT_ESPRESSO_CATEGORY event_category_id=”event-public-1354057023″_identifier order_by=date(start_date),id] |
|
Would it help to see the page? Under the sub-heading “Talks and Workshops,” we want “The Heart of Awakening (Both Fri & Sat)” to show up first, before the “Evening Lecture…” |
Hi there, It would be: [EVENT_LIST category_identifier=”event-public-1354057023″ order_by=date(start_date),id] Please note that this is a different shortcode: EVENT_LIST, with a different parameter: category_identifier. |
|
|
Thank you for pointing out the different shortcode. I’ve replaced the shortcode and the list does show up now but is still not in the order I want it. Referring back to my (1) above . . . maybe if I knew how to manipulate the “id” this Event List shortcode would work better. I need the events to show up in this order: 1st, BOTH Fri & Sat the “id” for the event for BOTH FRI & SAT is 35: The “id” for the Fri EVENING only event is 31: The “id” for the Saturday only event is 34: |
Hi there, When you add an event to the system, it increases the ID by one. So in this case, you could add the events into the system in the order that you’d like them to display on the list. |
|
|
Thank you, Josh. It would still be nice to be able to edit, adjust, manipulate the ID in those cases where “the client” provides the events out-of-order. I might need to figure out a work-around for this. |
|
Hi, One way to do it, though this is a bit of a manual hack, is to use categories and multiple [EVENT_LIST] shortcodes. So you would have 3 categories: FRI, SAT, FRISAT and give the category to the appropriate events. Then on your page have [EVENT_LIST category_identifier=”FRISAT-1354057023″] The downside to this is it will take a lot of manual work to maintain. |
The support post ‘How to Manipulate Order of Events’ 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.