Support

Home Forums Event Espresso Premium Event List: Show only first of each recurring event

Event List: Show only first of each recurring event

Posted: October 28, 2014 at 12:39 pm


Ann Ledbe

October 28, 2014 at 12:39 pm

I would like to create an Event List that shows only the first occurrence of EACH recurring event so that I can use it as a course description page. I am using Version 3.1.36.5.P


Josh

  • Support Staff

October 28, 2014 at 3:22 pm

Hi Ann,

I can recommend checking out the extra event list templates that are included in the Recurring Events plugin, or the Recurring events dropdown template plugin.


Ann Ledbe

October 28, 2014 at 4:09 pm

Thank you, I notice that the [ESPRESSO_CART_LINK] I have in my event descriptions produces an error when I use the extra event list templates : “AttentionAn error occured, a valid event id is required for this shortcode to function properly.”

I had to add .page-id-1016 .event_espresso_error {display: none;} to my custom css


Josh

  • Support Staff

October 28, 2014 at 5:18 pm

The reason you’re seeing the errors is because the cart link shortcode doesn’t have an event id when it’s being displayed on a list page.

I can recommend adding the cart link using an action hook instead of manually placing an [ESPRESSO_CART_LINK] onto an event description. Here’s a link to a gist that has some example code you can use:

The support post ‘Event List: Show only first of each recurring event’ 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