Support

Home Forums Event Espresso Premium EE4 calendar: do not display 2nd date

EE4 calendar: do not display 2nd date

Posted: June 21, 2017 at 7:27 am


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

  • Support Staff

June 21, 2017 at 9:13 am

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

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

  • Support Staff

June 22, 2017 at 9:51 am

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

Thank you Josh, it’s perfect 🙂

The support post ‘EE4 calendar: do not display 2nd date’ 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.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Evasionautoecole 2 years, 2 months ago ago

Topic Tags

Tagged: , , ,

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!