Hi, I have some little problem to show some article with a little complex acf relationship.
I have 3 custom post types and some of them have a relation beetween them.
– Country 01
– Country 02
– Country 03
– Sport 01
– Sport 02
– Sport 03
– Trial 01
– Trial 02
– Trial 03
I want that when I am on a sport page, they show me the corresponding trial (Sport 01 -> Trial 01, Trial 11, Trial 21 …), that’s work fine with no real problem, and in this page they are also organised by category (Men Women)
In my trial page i have some data, like a relationship field inside the repeater. The relationship let me choose, on of the country, and that’s work fine too.
My problem is on the country page. I want to show some specific trials, that i filter with some value of the trials page (like the rank, the results…), and order them with is category, is parent … I make you a little scheme for you to understand.
– First Place (value from a repeater in the trial field)
— Sport (parent of the trial)
— Category (Category of the trial
—- Trial 01 (The trial where, my country is on the first place)
I already filter the specific trial that I wanted and it works fine with