Crocoblock / suggestions

The suggestions for CrocoBlock project
194 stars 78 forks source link

Add ability to filter/query a listing grid based on values in a repeater field on a CPT #4049

Open ewancluckie opened 2 years ago

ewancluckie commented 2 years ago

Is it possible to get the ability to filter/query a listing grid based on values in a repeater field on a CPT?

E.g.

Two CPT's exist - one for 'Day Tours', another for 'Multi-Day Itineraries'.

The multi-day itineraries CPT, has a repeater field for the day-by-day itinerary. Each day repeater contains a group of fields, 'Day Title', 'Day Description', 'Day Gallery', 'Included Meals, 'Recommended Day Tours' for this day, and 'Recommended Hotels' for this day.

'Recommended Day Tours' for this day, and 'Recommended Hotels' for this day are multiple post selectors linking to other CPTs.

When creating the repeater listing for each day, to display on the frontend multi-day itinerary page - I can pull through the recommended day tour post titles using a dynamic text widget, but I cannot filter/query a listing grid that includes only that day's recommended day tours because the post ID's exist within a repeater.

I hope that is clear, but happy to add further details and mockup's if needed.

jhgeluk commented 2 years ago

Following this thread

asrour1 commented 3 weeks ago

2024 and still waiting