Support

Home Forums Event Espresso Premium Event list page

Event list page

Posted: January 9, 2014 at 8:02 am

Viewing 6 reply threads


devjenifer

January 9, 2014 at 8:02 am

I have two pages to show events using [event_list] shortcode:

1) First page list all “upcoming events” and works perfectly, the expired events drop off accordingly.

2) On the second page I want to list all events that we offer so I use [event_list show_expired=false] but the list show every occurrence because we offer the same event each month.

How do I list “all events” on a page without showing every event occurrence?


Sidney Harrell

January 9, 2014 at 10:56 am

Are you using the recurring events manager to make the multiple occurrences of the same event? That would make it easier for some custom code to use the recurrence id to only show one event in each series. The easiest thing, though, may be to use a category to add that category to one of each event, then use the category id in the event list shortcode.


devjenifer

January 9, 2014 at 1:13 pm

I’m not using recurring events becuz the dates are not consistently scheduled for each month. Also, I already use category id since I list different events on the corresponding category pages.
I’m thought about using the custom add-on option and create a new template based on event-list.php but I’m stuck.


Sidney Harrell

January 9, 2014 at 2:29 pm

You can add more than one category to an event. Try making a category like ‘single-occurrance’, and adding it to just the events that you want to list on that page.


Tony

  • Support Staff

January 10, 2014 at 2:56 am

If the events are the same just on different dates you can can set the recurring events manager (REM) so that you manually add the dates to the event.

The reason for recommending this is using REM would allow you to then use the the Recurring Dropdown Template with the Custom Template Add-on to display a list of your events with the recurring events listed once with a date drop-down.

A demo of this is available here http://demoee.org/custom-template-add-on/ under ‘Recurring Dropdown’

You could also create your own template as mentioned but without using REM this becomes difficult as you then need to compare each event with previous events to check if they are already listed. REM allows you you to pull a ‘series’ of events and display the first.


devjenifer

January 10, 2014 at 4:35 am

Thanks Tony. I will give REM a try.


Tony

  • Support Staff

January 10, 2014 at 5:07 am

Just to note whilst the Custom Template Add-on comes as part your license the Recurring drop-down template is not included and needs to be purchased separately.

https://eventespresso.com/product/recurring-events-drop-down/

Or if you are confident in PHP you can also create your own template and use that within the Custom Template Add-on.

Viewing 6 reply threads

The support post ‘Event list page’ 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