Support

Home Forums Event Espresso Premium Grid template – not ordering by start date

Grid template – not ordering by start date

Posted: July 31, 2021 at 4:50 pm


astiragency

July 31, 2021 at 4:50 pm

I am using the following shortcode.

[ESPRESSO_GRID_TEMPLATE sort=DESC order_by=start_date show_expired=false]

There are 5 events and are in the order of creation, not by start date. Changing sort from DESC to ASC does not effect the order.

WordPress Version: 5.6.4

PHP Version: 7.4.21

MySQL Version: 5.5.5

Event Espresso Version: 4.10.13.p

WordPress Address (URL): https://fancywork.com

Site address (URL): https://fancywork.com


Tony

  • Support Staff

August 2, 2021 at 8:47 am

Hi there,

Hmm, strange, I can’t reproduce this.

I created similar copies of your events on a new test site and loaded the Grid template there, the sort works as expected for me there.

order_by=start_date & show_expired=false are the default values for that shortcode and so can be removed from the above if not using a different value.

Looks like you are loading a custom template, are you loading that from your themes root directory? Can you upload a copy to Pastebin or a Gist so I can test that locally?

The support post ‘Grid template – not ordering by start 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