Support

Home Forums Event Espresso Premium Hiding Past Events

Hiding Past Events

Posted: December 9, 2019 at 9:21 am


radiusinvestigations

December 9, 2019 at 9:21 am

Hi- I have a few events that when I have nothing currently posted it shows all of the expired events. This is not the case for all of them though so it is odd. I do have the settings set to No for Showing expired tickets. I have toggled between the yes and the no to see if that fixed it with no luck. Is there a setting within each individual event were I can change this?


radiusinvestigations

December 9, 2019 at 1:05 pm

Anyone??


Josh

  • Support Staff

December 9, 2019 at 1:32 pm

Hi,

Can you provide a few more details? I’m afraid it’s not clear to me what you mean by an event showing expired events. A screenshot and or a URL may help explain this.


radiusinvestigations

December 9, 2019 at 2:08 pm

https://gstny.com/courses/8-hour-annual-firearms-security-training/

https://gstny.com/courses/combo-hr218-8-hour-firearms-annual/

the first link shows no expired events (what I am looking for) and the second link shows expired events (what I want to remove).
thank you!


Josh

  • Support Staff

December 9, 2019 at 2:15 pm

Hi,

I checked the events and found that in the first event, you have some CSS to hide the datetimes for that event. This was the CSS:

ul#ee-event-datetimes-ul-295 {
    display: none;
}


radiusinvestigations

December 9, 2019 at 2:18 pm

Is there a CSS code to put in that covers all of them or do I have to put each one in individual. also under Events- Templates I have it marked as No next to the Showing Expired Tickets- why doesn’t that take care of it?


Josh

  • Support Staff

December 9, 2019 at 2:30 pm

The Show expired tickets setting toggles the display of showing tickets. We’re talking about something different: Datetimes.

You can add the following CSS to hide all expired datetimes:

.ee-event-datetimes-li-DTE {
display: none;
}


radiusinvestigations

December 9, 2019 at 2:33 pm

Thank you!

The support post ‘Hiding Past Events’ 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