Remove events in past

Hi there,

I have created a nice content calendar with multiple events on a page.
Is there a way I can automatically hide events that have taken place in the past from the overview?
I have been looking at the filter options, but somehow can’t get it to work.

Thanks,
Thomas


Here is my public share link: LINK
(how to access public share link)

Please provide a share link to your project?

You can see how to create a share link in the main thread feed of the forum.

Hi Brandon,

It’s about this page:
https://preview.webflow.com/preview/fontanel-2019?utm_source=fontanel-2019&preview=ffb5dc124d82e373fb0e4e592a7db6c4&pageId=5cb48551a32a783a7bf101dd

First off, looks like all your listed events are currently running.

The only way this would actually work would be if they were single date events. Now you can set it up to work off the end date. Mean you can set the end date to only show events that are less than 6 months into the future.

This would only show events that will have an ending date within the next 6 months. That could also be said for in the past as well.

Because your events run over time from a few weeks to a few months or more. You could showcase events that are currently running from say within the last month. Meaning their start date is within the last month from today. And it will adjust as each new day moves forward.

This is based on a range rather than a specific date.

You might just have to get it to work to your liking. However, there could be a custom code you could add to be more specific. But due to the nature of your events having such a broad range of start and end dates, that may not work

You can however, create a pagination layout and change the sorting order to have the start date with newest to oldest, limit to 6 on a page, and reference events that have an end date less than 6 months more into the future.

Hey Brandon,

Thanks for the swift response! Yeah the ideal scenario would be that the end date is the final date. And that it gets removed from the calendar once that date has passed. I’m hoping that I’ve made it work with these settings:

Yes, once we have moved passed the End date listed on the filter it will be removed. I have tested it on other dates from your project.

Great, thanks so much Brandon!!

1 Like