Problem:
Views filtering on custom date does not work with event calendar custom date field
Solution:
Types stores custom date field value as Unix Timestamp but you are using the custom field of third party plugin which stores the date value as string.
To convert the date string to timestamp you should use the posts_where hook.
You can find proposed solution, in this case, with the following reply:
https://toolset.com/forums/topic/views-filtering-on-custom-date-does-not-work/#post-1082851
Relevant Documentation:
https://codex.wordpress.org/Plugin_API/Filter_Reference/posts_where
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.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
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 | - |
Supporter timezone: Asia/Kolkata (GMT+05:30)
Ce sujet contient 6 réponses, a 2 voix.
Dernière mise à jour par Il y a 6 années et 3 mois.
Assisté par: Minesh.