Support

Home Forums Event Espresso Premium EE4 Add Event Status Class Name to post_class

EE4 Add Event Status Class Name to post_class

Posted: October 30, 2014 at 2:50 pm

Viewing 2 reply threads


Mike Wilson

October 30, 2014 at 2:50 pm

Hi,

WordPress 4.0
Event Espresso Version 4.4.3.p
Event Espresso – Calendar Version 3.1.0.p
Existing Installation updated on Friday, Oct 10

http://premierha.staging.wpengine.com/past-events/

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!

Thanks!
Mike Wilson


Mike Wilson

October 31, 2014 at 11:28 am

Hi,

I’d also like to use this to hide the iCal icons on expired events… Hoping I can get some response today please.

Thanks!


Lorenzo Orlando Caum

  • Support Staff

October 31, 2014 at 12:16 pm

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.

Event Espresso