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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
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)
This topic contains 6 réponses, has 2 voix.
Last updated by tammot Il y a 5 années et 8 mois.
Assisted by: Minesh.