Home › Forums › Calendar Products › Events Calendar PRO › Hide Event After Start Date
- This topic has 6 replies, 2 voices, and was last updated 6 years, 9 months ago by Casper Blackwell.
-
AuthorPosts
-
July 17, 2017 at 1:34 pm #1322308Casper BlackwellParticipant
Howdy,
Is it possible to automatically remove class listing from the classes (events) page once the date of the first class has passed?
https://insightshopva.com/classes/
Thanks in advance,
Cheers,
CasperJuly 18, 2017 at 5:00 pm #1322971VictorKeymasterHello Casper!
Thanks for coming back to us! 🙂
Just to confirm I understand this correctly, are you trying to make all recurrences for an event (class) not show up in the list view after the start date for the first instance has passed? Is this only for the list view or for all other views?
I’m mostly sure this will require some custom coding, which we do not support, but we’d like to help you out and at least point you into the right direction.
Let us know about this.
Thanks,
VictorJuly 23, 2017 at 12:02 pm #1325126Casper BlackwellParticipantHowdy,
I have “Show only the first instance of each recurring event” checked, which is working with the List view; the client was wanting the recurring classes hidden after the first class starts in the calendar view as well.
Thanks in advance,
CasperJuly 24, 2017 at 6:25 am #1325269VictorKeymasterHi Casper!
Thanks for clearing that out!
There is a workaround for this. You will need to place the following CSS snippet into your theme’s styles:
.tribe-events-month .tribe-recurring-event-child {display:none}
This will work like the “Show only the first instance of each recurring event” option, but in the month view.
Let me know if that works for you.
Best,
VictorJuly 24, 2017 at 10:20 am #1325396Casper BlackwellParticipantPerfect Victor! That did the trick 🙂
Ok to close.
Cheers,
CasperJuly 24, 2017 at 1:12 pm #1325454VictorKeymasterHi Casper!
I’m glad to hear it worked out for you. Thanks for following up to let us know.
As always, don’t hesitate to open a new thread if there’s any other question.
Cheers,
Victor -
AuthorPosts
- The topic ‘Hide Event After Start Date’ is closed to new replies.