Home › Forums › ACF PRO › Relationship field in a block › Reply To: Relationship field in a block
@kiwicreative not sure if I have something more fundamentally wrong somewhere!
I’ve changed it to
get_field() and created a simple page template to test things. If I
print_r($posts) I don’t see any custom field values in the array (not sure if I should), but the custom field values are empty on the page.
Here’s my test page – https://treegrowing.tcv.org.uk/identify/testing-block – the three values (Scientific Name, Family and Scientific Family) should populate from custom fields in the related post – ID 65.
Thanks for your help – much appreciated!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We’re reaching out to our multilingual users to ask for help in translating ACF 6.1. Help make sure the latest features are available in your language here: https://t.co/TkEc2Exd6U— Advanced Custom Fields (@wp_acf) May 22, 2023
© 2023 Advanced Custom Fields.