Passer la navigation

[Résolu] Search by date range

This support ticket is created Il y a 3 years, 10 months. 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Fuseau horaire du supporter : Asia/Kolkata (GMT+05:30)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par jason-bum-sooK Il y a 3 years, 10 months.

Assisté par: Minesh.

Auteur
Publications
#2424359
filter-code.png
filter-page.png
filter-setting.png

I want to implement a search for dates in a custom field as start and end dates.

I set it as in the image below, but the event text in the range of the start date and end date does not appear.

What should I do?

lien caché

#2424565

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

As I understand you created the date custom field using Types plugin and you want to display specific records based on the filtered date range. if this is correct, Can you please try to use the "numeric" type instead of "Date" type when you add a "Query Filter" as you shown with the following screenshot?
=> https://toolset.com/wp-content/uploads/2022/07/2424359-filter_setting_1.png

Does that helps you to resolve this issue?

#2425059

Thank you.
The problem has been resolved.