Relationships
-
I have a Pod (let’s call it “Old”) with about 20 fields. I want to add 3 fields that will pull their contents from another Pod.
For the sake of brevity, let’s call the 3 new fields Name, Rank and Serialnumber. They are in a Pod called New.
To add the first field, Name, I created a new field in the existing “Old” Pod, also called it Name, and in the Relationship, picked Related To as “New”. When called in a template, this works, and I see the contents of the field “Name” that are stored in the New Pod. The New Pod is a Custom Post Type.
I add another field called Rank, also do the same thing: but the Related To dropdown only lets me pick the Pod “New”, not any specific field in that Pod. In the template, {@rank} also displays the contents of the field Name.
I am sure this is pretty simple, but I just don’t get it. How do you specify WHAT field in a Relationship type field to link to? I thought it just involved naming the two fields the same.
- The topic ‘Relationships’ is closed to new replies.