Home Forums Event Espresso Premium Change order of events within category

Change order of events within category

Posted: May 5, 2022 at 12:34 pm


May 5, 2022 at 12:34 pm


I need to change the order of events showed on category pages. Right now events are sorted by eventID, but I need to sort them by date ASC.

How can I do that?

Thank you!


  • Support Staff

May 6, 2022 at 6:16 am

Hi Bob,

Thank you for contacting us today.

By default, the events should already be shorted in ASC order as per the event dates in the Event category page.

Please share me some more details with screenshot if you are referring to anything else.

Looking forward to helping you.

Thank you.


May 8, 2022 at 12:01 pm

The listings are from multiple categories. Is it listing each category separately by date order?


May 8, 2022 at 12:06 pm

NOt sure how I clicked the submit button – not intentional. I think these are all coming from the [ESPRESSO_EVENTS category_slug=hiking-outings] category.


  • Support Staff

May 9, 2022 at 4:05 am

Hi there,

This page:

Is usually automatically generated using templates from within your theme (usually the taxonomy.php or archive.php template files) and then EE injects some additional details into the output.

You’ve mentioned the [ESPRESSO_EVENTS category_slug=hiking-outings] shortcode, do you see that in use when editing the above page?


May 17, 2022 at 11:41 am

No, we don’t use shortcode on that page, you’ re right it is automatically generated page.

How can we change the order of events on category pages or sort them by event start date but not event publish/creation date.

Joao Victor

  • Support Staff

May 17, 2022 at 5:42 pm

Hi there!

Thanks for contacting our support today!

The Events displayed on the Event Category Page are not ordered by ID, ASC, or DESC. The events are ordered by the closer Start Event Date, so it will display the closest events first. You can change this order by changing the Event Start Date.

Let me know if it works!


May 20, 2022 at 11:41 am

Can we provide you with the login information so that you can look at the page. The events are not listing by Event Start Date. That is the problem.


May 20, 2022 at 11:42 am

Here is the page

Joao Victor

  • Support Staff

May 24, 2022 at 6:22 pm

Hi there!

I have noticed your theme is Avada and we already know a few conflicts between Avada and Event Espresso. Could you please provide your WordPress access through this URL? – we will look into this.

I am waiting for your comment on this.


  • Support Staff

May 24, 2022 at 9:58 pm

Hi there,

You could try adding this snippet to the site:

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

That hooks into the category output and makes sure the query is set up to filter by datetime, if the above does not work the login credentials Joao mentioned will help narrow this down a little.

You must be logged in to reply to this support post. Sign In or Register for an Account

Event Espresso