Is there was a way to add the event status as a class name to each of the the events on the Events Archive? In terms of status I’m referring to upcoming, active, expired, inactive, etc.
I’m doing a search (specific to the espresso_events post type) on past events and I’d like to exclude any other event status from the list and I thought a quick CSS display:none; hack might be the best-ish approach.
Of course if there is a way to filter these events via search that would be great also!
Not currently, but that would be helpful for targeting various elements using CSS.
I’ll create an enhancement request for that.
—
Lorenzo
Viewing 2 reply threads
The support post ‘EE4 Add Event Status Class Name to post_class’ 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.