here hidden link
i cannot get just the dog that is related to the owner/hander at the event , always seems to show dog the person bred ?
i tried queerying the role but it makes no difference , seems same issue as all other , getting the person/roleevent/dog all linked together.
any houghts on this waqar, i had another go but same outcone,thx
waqar if you are to busy to deal with this could you please unassigned the ticket so i can get some support today as i ned to get this sorted and it been same for a week thanks
martin
Hi Martin,
If I understand the requirement correctly, you don't need another view "view 8" in the view "View to show Person Appearances in events single person page 1".
You can show the dog information that was used in the current "Person Appearances" post directly, using the field shortcode:
Dog tile: [types field='person-appearance-dog'][/types]<br>
Dog ID: [types field='person-appearance-dog' output="raw"][/types]<br>
regards,
Waqar
thankyou waqar , i think i did a new view as i wanted the outcome to be a link to the dog in question ,the way you have it the dog is just a custom field and not a link . hope that makes sense, thanks
can i make the dog in question a link ?
any joy waqar? i only have 1 more day then im into next week again.....
Hi Martin,
Once you have the ID of the target post, you can use it in the "wpv-post-link" shortcode's "item" attribute and it will generate a post link:
[wpv-post-link item="[types field='person-appearance-dog' output='raw'][/types]"]
Related links:
https://toolset.com/documentation/user-guides/views/views-shortcodes/#wpv-post-link
https://toolset.com/documentation/user-guides/views-shortcodes/item-attribute/
regards,
Waqar
My issue is resolved now. Thank you!