I have a custom post type. Inside that custom post type I have several date and time fields.
1: start and end date of the post itself
I’d like to learn how I can validate the date info to make sure it doesn’t overlap with the start and end date of another posts start and end date. (so only one will be live at a time)
2: I have artwork start and end dates inside each post type so several can be scheduled inside the post itself
– I’d like to make sure the artwork start and end dates can only be set to within the posts start and end date