Support

Home Forums Event Espresso Premium Events Not Listing in Order of Date

Events Not Listing in Order of Date

Posted: July 20, 2016 at 3:37 pm

Viewing 4 reply threads


Elizabeth

July 20, 2016 at 3:37 pm

I need to have my events listing in order of dates, which it appears they do on this page: http://www.livingartsschool.com/workshops/

but not on this page (events listed to the right and to the left are both prior to the date of the workshop detailed on the page:

http://www.livingartsschool.com/events/living-frame-succulent-design/

I added these shortcodes to my workshop page but it hasn’t changed that issue:

[ESPRESSO_EVENTS css_class=living-list]

[EVENT_LIST sort=ASC]


Josh

  • Support Staff

July 20, 2016 at 3:59 pm

Hi Elizabeth,

Are you referring to these?

If so, those are added and their order is controlled by your WordPress theme and the theme will order them by their posted on date. One way to work around this is you change the posted on dates for those so they fall into the order that you want.

Another way to change the order of those posts is change the theme code. Is there a place where we can download the theme to see how the code is ordering those?


Elizabeth

July 21, 2016 at 1:04 pm

Yes, that’s what I’m referring to…

Hmmm, I think the first solution you proposed is really clunky and hard for me to keep track of.

I’d be happy for you to download my theme–can you give me an idea as to where this is usually located or what I should give you access to? I’m pretty clueless on this stuff.


Josh

  • Support Staff

July 21, 2016 at 1:24 pm

You can contact the theme author and they may be able to help you get a copy of the theme, they may even be able to make the change for you.


Josh

  • Support Staff

July 25, 2016 at 1:08 pm

Hi Elizabeth,

If your theme uses the native WordPress native next_post_link() and previous_post_link() functions, the following code can be added to your site and it will order the next and previous post links by event date:

https://gist.github.com/joshfeck/a8e28b9cfecd89308fbea4c152f546c9

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.

Viewing 4 reply threads

The support post ‘Events Not Listing in Order of 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