Support

Home Forums Event Espresso Premium How To Display only 1st Day of a multi day course in Calendar?

How To Display only 1st Day of a multi day course in Calendar?

Posted: August 17, 2020 at 5:22 am

Viewing 3 reply threads


bpigroup

August 17, 2020 at 5:22 am

I’m sure this must have been asked before so I apologise if it has but I couldn’t find an answer in the forum.

We run training courses, they are often 4 days long but spread over one or two days a week.

I want these on the calendar but only the 1st day. Delegates can’t attend the other days without attending the first and so having them in the calendar just confuses people. I know I could just create the event as a 1 day event but having the other days there does make the event page look a lot nicer.

In an ideal world a simple tick box on each day for ‘show on calendar’ would be an ideal solution. Is there anyway to achieve something like this or any other solution?

Thanks


Tony

  • Support Staff

August 17, 2020 at 6:11 am

Hi there,

Adding this snippet:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/addons/eea-calendar/jf_ee_calendar_display_first_datetime_only.php

To a custom functions plugin on your site should do the trick. We have some documentation on how to create a plugin here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/


bpigroup

August 17, 2020 at 9:30 am

Thanks that appears to have worked!


Tony

  • Support Staff

August 17, 2020 at 1:18 pm

You’re most welcome.

Any further questions just let us know.

Viewing 3 reply threads

The support post ‘How To Display only 1st Day of a multi day course in Calendar?’ 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