Hello, in my native wordpress search function you can search for events which I like. However it shows events that have already passed. I would like to only show events coming up.
Is there a way to stop past events showing? A function or a query I can add?
Alternatively, can I adjust the ‘Move to trash events older than’ so that it trashes events older than 1 day?
The “Clean up recurring events after” setting can’t be less than one month. I believe you would need to modify the search query to exclude past events, but a simpler option might be to use a plugin like Post Expirator, which allows you to automatically expire/trash events on a certain date. Let me know if this gets you what you’re looking for!
Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team
Author
Posts
Viewing 3 posts - 1 through 3 (of 3 total)
The topic ‘Search showing past events’ is closed to new replies.