• Is there a way to add a class to a container or the body tag so that I can target events that have expired?

    For example, I’m planning on adding an image to all single events pages but want to hide it on events that have already occurred. (And keep in mind that I don’t want to delete my past events.)

    I would like to implement css statements such as:
    .past-event img.xyz { display: none; }

    How can I implement ‘past-event’ class or id?

    Thanks in advance!

    http://wordpress.org/extend/plugins/the-events-calendar/

Viewing 1 replies (of 1 total)
  • Hey oliversos. You still stuck here, or did you get this figured out? Just hitting the forum today for the first time in a while but if you need us to take a look here, I can get a dev on it to see if they can point you in the right direction. Let me know and thanks for your patience so far.

Viewing 1 replies (of 1 total)
  • The topic ‘Single Events Page – add class for past events?’ is closed to new replies.