Hey guys!
I have watched the video you released about how to create a calendar with ACF Pro and Cornerstone and it’s great. I could follow along fine but at the end of the video Josh explains how to only show future events and hide past ones. What I need is an archive with all past and future events visible - only past events get a semi transparent white div on top of the event to make people understand that these are in the past. People should still be able to click on past events to see more info. The way I set everything up is that I created the archive layout and pulled in the ACF Pro info from the post type events and display them as cards. In each column there is a div that wraps around each card to get the layout right and in the div there’s another div with a semi transparent background set to position absolute covering the whole card to “gray” it out. I want this div to only be there if the event date is before the current date. I tried conditional logic with current Date and the dynamic content of the event date field but it doesn’t work. Why is that? Have I missed something? Also - I can’t use a query on the looper provider to hide the element because I still want it to be in the archive.
Best Umberto