Skip Navigation

[Resolved] Setting events to filter and display only events from today onwards

This support ticket is created 5 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Shane 5 years, 1 month ago.

Assisted by: Shane.

Author
Posts
#1400715

I have an events post type that has start date and end date custom fields.

The events need to be searched by date - this is currently working using this Query Filter: hidden link

I also need the events to display only events from today onwards in descending order so the most upcoming events are shown first. I can get this to work using this query filter: hidden link

However, I cannot find a way to have both working - how can I show only events from today onwards and also allow people to search by date?

This is the page it relates to: hidden link

Kind Regards,
Orla

#1400913

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Orla,

Thank you for getting in touch.

Unfortunately you can only define the filters once, you're not able to first search for both the start date and end date if you want to have the start date as a static filter.

You can however just use the end date as a dynamic filter.

Please let me know if this is clear.

Thanks,
Shane