New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Post Thumbnail not returned on Parent Entity #3779
Comments
you could try
which works for me all to well i got the image 24 times :P i rarely use the templates maybe i have time later on to dig deeper or somebody else jumps in ^^ |
That's still an issue - traversal is broken for any related pod like ( 1:M and 1:1 and n:m ) |
Related Pods (multiple select) work in an |
Workaround from jim - use multiple select and limit to 1 |
I can confirm this is an issue, even with Pods 2.7 RC1. The Template reference doesn't appear to extrapolate anything from the single select relationship, but |
ran into this again :/ it surfaced twice for the BB Integration! book_author relationship field to another CPT 1:m -> 3 related items bidirectional assigned! portrait is a single select image! would expect both to work the same - weird it returns always a string for the first image and nothing for the rest |
When you create a 1:M relationship and are in the child entity, you can't seem to access the parent's post_thumbnail property.
## Create the `test_person` with a link to `department`
## Create the template to display a single `test_person`
## The **featured Image** of the `department` doesn't show up. (ToT) 👎
If you noticed, it doesn't show up in the reference or autocomplete either, which is potentially where the issue is.
Temporary fix would be... don't use Featured Image and add an Image field... though
post_thumbnail
is such an integral part of the whole WP ecosystem that it seems silly to not support that.Is it possible that this was done intentionally to avoid an extra database table join?
Here's the template code I used:
The text was updated successfully, but these errors were encountered: