Support

Home Forums Event Espresso Premium Grid view sort by date not working

Grid view sort by date not working

Posted: April 7, 2016 at 9:40 am


Pim Stumpel

April 7, 2016 at 9:40 am

Hi!

Hope you can help:) I am using a grid view for my events. Now i used the shortcode:
[ESPRESSO_GRID_TEMPLATE category_slug=”home-page”sort=”ASC” order_by=”start_date” limit=20]

I also tried the one below to be sure that it wasn’t the ” that caused the problem but no luck.

[ESPRESSO_GRID_TEMPLATE category_slug=”home-page”sort=ASC order_by=start_date limit=20]

It does not matter what i do, but the grid never starts with the summer events, instead it starts with a halloween event:(..

Don’t know what i am doing wrong, hope you can help me out:)

The website is not online yet (hopefully tomorrow it will be if i can fix this issue) So in case you need login details or something, let me know.

Cheers!


Josh

  • Support Staff

April 7, 2016 at 9:57 am

Hi Pim,

Can you try this instead?

[ESPRESSO_GRID_TEMPLATE category_slug=home-page limit=20]


Pim Stumpel

April 7, 2016 at 10:05 am

Hi Josh,

Thank you for your quick response! Great service like always! Yeah i already tried that code, but nothing changes sorting wise. Summer clinics are still in the middle somewhere between other clinics, but they should be first. Any other ideas?

Cheers!


Josh

  • Support Staff

April 7, 2016 at 10:42 am

It could be something with the date format. Can you check the date format that’s set in WP > Settings > General? What’s the date format set there?


Pim Stumpel

April 7, 2016 at 10:51 am

hmm it says:
F j, Y so April 7, 2016

(don’t know if you need this too, probably not, but just in case)
Timezone = UTC + 2

Cheers!


Josh

  • Support Staff

April 7, 2016 at 12:48 pm

Hi there,

Can you post a link to the page so we can take a look? If the site isn’t live yet, like you mentioned, can you view source, copy all the source, then paste into a github gist or paste bin? Then if you link to the gist or paste bin here we can investigate further.


Pim Stumpel

April 7, 2016 at 1:33 pm

Hi!

Ok so i have NO idea, what just happened. My internet just stopped and i resetted the internet, and now i looked at the grid view and it is sorted correctly!
So maybe the change was made already, but was not visible because of my internet.

Anyway thank for your help all good:)

Cheers,


Josh

  • Support Staff

April 7, 2016 at 2:02 pm

You’re welcome.

The support post ‘Grid view sort by date not working’ 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