Evasionautoecole
June 21, 2017 at 7:27 am
Hi dears,
When I have an event with 2 dates I see the 2nd date (as Complet) on my calendar when the 1st date is pasted.
Is it possible to do:
when the 1st date is pasted = don’t show the event in the calendar
I hope you will understand what I mean π
Here is the page: https://www.mon-permis.info/inscriptions-aux-cours-en-ligne/
Thank you for your help
Kind regards
Josh
June 21, 2017 at 9:13 am
Add New Note to this Reply
Hi there,
You can make it so the events that show “Complet” don’t show by adding the following to your site:
https://github.com/eventespresso/ee-code-snippet-library/blob/master/templates/de_ee_filter_events_out_with_expired_tickets.php
You can add the above to a functions plugin or into your WordPress theme’s functions.php file.
Evasionautoecole
June 22, 2017 at 6:47 am
Add New Note to this Reply
Hi Josh,
Thank you for this proposition.
It’s not exactly what I would like to do π
I need to show next events how are “Complet” but don’t show 2nd (or more) dates when an event have more that one dates (like courses “Bloc 1 et “).
Josh
June 22, 2017 at 9:51 am
Add New Note to this Reply
Thanks for clarifying. In that case, what you do is change ashortcode parameter for the shortcode on that page to be:
[ESPRESSO_EVENTS_TABLE_TEMPLATE show_all_datetimes=0]
More info here:
https://eventespresso.com/wiki/events-table-view-template-add-on/
Evasionautoecole
June 23, 2017 at 6:15 am
Add New Note to this Reply
Thank you Josh, it’s perfect π