Support

Home Forums Event Espresso Premium Sorting Table by Published Date

Sorting Table by Published Date

Posted: January 12, 2016 at 12:01 pm


b2995

January 12, 2016 at 12:01 pm

I swear I saw this some there, but when I change the event’s Published date, it still does not short it to the top.

LINK

I’m trying to move General Adm above the rest


Josh

  • Support Staff

January 12, 2016 at 1:00 pm

You should be able to move the General Adm to the top by adding order_by ID sort=ASC to your shortcode as parameters like so:
[ESPRESSO_EVENTS_TABLE_TEMPLATE order_by=ID sort=ASC]

That will order them by event name, but you’ll still need to get the after part to comply, which you can do by changing its name to “The After Party”.


b2995

January 12, 2016 at 1:31 pm

How can I sort in other way other than by name? “After Party” needs to be last since it’s after everything else. They all need to start off with the same year and event. Here’s what I got but not working

[ESPRESSO_EVENTS_TABLE_TEMPLATE category_slug=name table_search=false order_by=ID sort=ASC]


Josh

  • Support Staff

January 12, 2016 at 1:53 pm

They can also be sorted by post ID, which is what I errantly posted above, so if you add the events into the system the same way you want them to be ordered they’ll order that way too.

Or you use event_name for the order_by.


b2995

January 12, 2016 at 3:26 pm

I’m dealing with people who want switch the events around based on what is on sale for the month, etc… So how do I sort the category of events by Publish Date?


Lorenzo Orlando Caum

  • Support Staff

January 12, 2016 at 3:58 pm

Hi,

Sorting by published date of the event isn’t currently a parameter (https://eventespresso.com/wiki/events-table-view-template-add-on/#usage).

You would need to sort by one of the parameters that Josh shared.


Lorenzo


hsdorg

January 21, 2016 at 2:00 pm

Thanks Lorenzo! I changed the start time by one minute and that worked 😉

The support post ‘Sorting Table by Published Date’ 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