Tell us what you are trying to do?
filter these results: hidden link by time-of-day: morning, afternoon, or night
we currently only have meeting time in the database. Is there way to compute all morning meetings (all meetings up till noon), afternoon meetings (all pm meetings up till 6pm), and night meetings (all meetings between 6pm and midnight).
Is there any documentation that you are following?
no
Hello and thank you for contacting the Toolset support.
There is no built-in way to perform this filtering based on the date custom field. The straight forward way is to add a select custom field to the custom post type to track the day period. You can then sync the value from the date custom field using custom code hooked to save_post. Then you will have to save all current posts to sync the field value. Then you can add a filter around the custom field. https://developer.wordpress.org/reference/hooks/save_post/
You may also create use a query filter to look for the post between two dates passed as a URL param, then you can create a custom filter(period selector) and add custom Javascript that will sync the "start_date" and "end_date" field from the filter value.
I hope this helps. Let me know if you have any questions.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.