I have created an attribute called “event day” with a date and time selector using the slug “eventday”. I want it to be hidden 30 days after the event, as it doesn’t make sense to display past events. Date format in WordPress (F, J, Y)
HI,
There is no such feature, but there is a workaround described here. If you don’t use the expiration date feature, you can make it editable [it will be displayed on the frontend] and rename it to Event Date or something similar. Once the date passes, the listing will be automatically expired.
Hope this helps.
1 Like