We are building a Cruise directory website where we have created a new Post Type: Cruise. Each Cruise has a number of departure dates. We have added a Repeatable field in Date format, called Departure Date.
We'd like to offer a filter on the Cruise Search page to filter Cruises by their departure date(s).
I'm unable to see the repeating field in the Filter Wizard to select it? So I think I'm going about this the wrong way.
Do you have any information about how to do this or if it is possible with a repeating date field, the majority of the forum posts look to be related to querying just single date.
Unfortunately you cannot create a search for the Repeatable field group custom fields.
In this case I would recommend using a post relationship to do your departure times. It essentially functions the same as the RFG but it offers more flexibility in that you can filter by the custom fields that are added to the cruise.
OK I've created a new post type for Cruise Date with a custom field for Date. So there is a Cruise Date post for each date, that can be assigned to multiple cruises, by setting up a many to many relationship. I don't seem to be able to filter the cruises by the custom date field on the Date post type though. Is this possible?