I have a custom taxonomy called Agents with taxonomy slug agents. I created a custom field group called Agents. The fieldnames for the fields in the group are agent_name, agent_phone, agent_email and agent_picture.
I tried the above code like so:
[acf field="agent_name" post_id="agents"]
This did not return any values. How can I return custom fields attached to the agents taxonomy?