Support

Account

Home Forums Front-end Issues Accessing Relationship Field Values Within Relationship Reply To: Accessing Relationship Field Values Within Relationship

  • Perfect, that solved it! I think I had tried that before, but the important part I was missing was referencing the producer’s ID.

    I had tried this:
    $office_location = get_field('office_location');

    When all I needed was to refer to the $p->ID within the loop like you suggested:

    $office_location = get_field('office_location', $p->ID);

    Thanks very much!