I have two CPTs Aircraft and Operations. I have an ACF PRO relationship field on the aircraft CPT joining the Operations.
I’m trying to display the relationship field data on a layout called aircraft so users can see the Operation the aircraft took part in and then click on the operation name to display the operation post.
I think this should be possible but I can’t seem to get it to work, The closest I’ve managed is to get an array to display when I set the relationship field to Post ID instead of Post object. When it’ set to Post object I get nothing.
I have set the provider to Dynamic Content and the value {{dc:acf:term_field_setting field=“aircraft_operations”}} and the consumer to All and in the text field {{dc:acf:post_field field=“aircraft_operations”}} and I’ve also tried the following:
{{dc:acf:post_field field=“aircraft_operations”}} and {{dc:looper:field key=“aircraft_operations”}}.
Can you advise what am I doing wrong ? or if it’s even possible to get the relationship data using looper etc
https://31association.co.uk/sqn_aircraft/tornado-gr4/
the field should be below the research links at the bottom of the page, it currently has 3 operations linked in the acf pro field.