Skip Navigation

[Resolved] show upcoming events until two days after the event has taken place

This support ticket is created 5 years, 5 months 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 3 replies, has 2 voices.

Last updated by vimalS 5 years, 5 months ago.

Assisted by: Waqar.

Author
Posts
#1266227

show upcoming events until two days after the event has taken place

#1266307

Hi Vimal,

As discussed in the chat, I've set your next reply as private, so that you can share the temporary admin access details.

regards,
Waqar

#1267469

Hi Vimal,

Thank you for waiting, while I performed some tests on my website.

Based on what you've shared, I understand that your goal is to show upcoming (future) event, but also include any if its date falls within the last two days.

If this is correct, you can set the date query filter like shown in this screenshot:
hidden link

As a result, this view will only consider an event if its date is equal to or greater than 11th June (if today is 13th June).

You can learn more about date filters, from this guide:
https://toolset.com/documentation/user-guides/date-filters/

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar

#1268795

My issue is resolved now. Thank you!