Hi–I’m building an Awards page, which loops over the “Award” custom post type and displays the award title and details entered in ACF. On each Award post, a related project (from the “Project” custom post type) can be selected via an ACF Post Object field.
The first looper works fine and outputs all awards, however, per the Loopers documentation, I’ve looped over the post object field (“Related Project”), and I can’t seem to get the project title to display
Current layout is:
Row (Loop Provider for Awards)
Column (Loop Consumer for Awards)
Grid
Grid Column 1 (Award image)
Grid Column 2 (Award Text)Div (Loop provider for Related Project field - {{dc:looper:field key=“related_project”}})
Text (Intended to be Related Project Title & Link)
In that last Text element, I’ve tried using {{dc:post:title}} which outputs the Award title, not the Project like I want. On the Div element, I’ve also tried the input {{dc:acf:post_field field=“related_project”}} but that does not seem to work either. How might I access and display the title and URL from the Post Object that that is returned for each award?