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
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
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:
Viewing 3 reply threads
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.
Support forum for Event Espresso 3 and Event Espresso 4.