I am a junior WP programmer and I got stucked on creating a WP types filter.
I have to solve the following task:
- I have a post type called trips (with multiple trips - trip A, B, C)
- Post type Periods (child of trips)
- Custom fields on Periods - start date (date 1, date 2)
I would like to create a filter for trips by selecting start date (custom field of child post type), where I want to see only the trips with start date > today.
It seems I cannot do it with View standard filtering as I am not able to sort by custom field in child post type.
Any recommandation/solution would be much appreciated.
I have limited PHP knowledge, any plugin / ready solution for that?