I have a “past events” listing page. I’ve made it so people can filter these events by category. But according to ExpressionEngine, an event that is currently running is BOTH past AND future. Therefore, a category will appear for an event that is currently running on the past events landing page. How do I tell EE to hide any categories associated with any currently running entries?
This is my code:
{exp:channel:categories channel="resident" style="nested" category_group="3" show_empty="no" show_expired="yes" show_future_entries="no"}
<a href="http://{path=residencies/past}">{category_name}</a>
{/exp:channel:categories}Thanks!