Support

Home Forums Event Espresso Premium Sorting passed events by year – grid view

Sorting passed events by year – grid view

Posted: November 20, 2014 at 4:15 pm

Viewing 1 reply thread


web comms

November 20, 2014 at 4:15 pm

Hi,
We’ve been asked to create a new page for archived events by year (i.e. Art Exhibitions 2013, Art Exhibitions 2012, Art Exhibitions 2011).

I was using the following to make all past exhibitions appear on the one page:[ESPRESSO_GRID_TEMPLATE category_slug=EXHIBITIONS show_expired=TRUE order_by=start_date, button_text=””] – what do I put on each page to sort it out by years?

Thanks 🙂


Dean

November 21, 2014 at 2:12 am

As far as I see it there are two broad choices here:

1) Give each event a category (e.g. 2012) and use the shortcode multiple times, once for each category. While more work going through previous events it’s the easiest option that doesn’t involve code.

2) Modify the template file to achieve this. You will need to actually change the code as you obviously will need to insert the dates. Something like this might be a good starting point http://wordpress.stackexchange.com/questions/1656/display-posts-links-from-a-category-group-by-year

Viewing 1 reply thread

The support post ‘Sorting passed events by year – grid view’ 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