I have a relationship between a post and a two team members -
A post has a relationship to a team member post type as it’s author, and another relationship field to a team member as it’s editor.
I’d like to display something like this on the front end:
Written By: [team_member_posttype_featured_image] {team_member_posttype_title}
Edited By: [team_member_posttype_featured_image] {team_member_posttype_title]}
I can get the post title returned, but I can’t grab anything else from that relationship, such as images or bio fields, etc.
Both of these are relationship fields in Metabox. I am able to get the post title data for the related field as that is the output of the Written By and Edited By relationship fields.
I am unable to find a way to reach further into those related fields (team member) and extract a different field other than the post title. I’d like to learn how to get any field from a related post dynamic data field, not just list its title and a link to the post.
Does anyone have experience doing something like this?