[wpv-conditional if="( $(_wpcf_belongs_person_id) ne '' )"]
<h3>[wpv-post-link id="$person"]</h3>
[/wpv-conditional]
[wpv-conditional if="( $(_wpcf_belongs_org_id) ne '' )"]
<h3>[wpv-post-link id="$org"]</h3>
[/wpv-conditional]
Is this still the correct way to do things with the new post relationships release? I setup the site before the new release and so not sure if I should be migrating my code in any way.
Maybe I wasn't very clear, I know how to display the parent title/link, but the parent could be one of two different types, so I only want to display the title of the existing parent (one will be null).
I've managed to get it to work using
[wpv-conditional if="( $(_wpcf_belongs_person_id) ne '' )"]
<h3>[wpv-post-link id="$person"]</h3>
[/wpv-conditional]
[wpv-conditional if="( $(_wpcf_belongs_org_id) ne '' )"]
<h3>[wpv-post-link id="$org"]</h3>
[/wpv-conditional]
But I'm not sure if this is best practise for the new post relationships in Types v3.0