Hi! I wish to make all old events automatically hidden from calendar. Is possible?
I don't want that a customer can see how many people has booked the "old dates" and I wish the closed dates were not visible to people so as not to create confusion to go and book an old event. (I will use recursive events to have even 1-2 bookings in a day but when an event is "closed" the bookings must not arrive).
Adding a filter in the LIST or CALENDAR block for open or closed events could solve the problem.
Hi! I wish to make all old events automatically hidden from calendar. Is possible?
I don't want that a customer can see how many people has booked the "old dates" and I wish the closed dates were not visible to people so as not to create confusion to go and book an old event. (I will use recursive events to have even 1-2 bookings in a day but when an event is "closed" the bookings must not arrive).
Adding a filter in the LIST or CALENDAR block for open or closed events could solve the problem.
Thanks so much, Emanuele
Hi, Emanuele!
Thank you for choosing Amelia.
Please try to apply this script on the booking page:
In this script, futureDays indicates the number of days in the future that will be displayed. You can set it to any number that suits you the most.
If you need help with adding custom JS to the page, please take a look at this article.
Looking forward to hearing from you.
I have tried to apply this to my site using the Snippet Plugin but it doesn't work. Is there anything else I can try?