How to get image from relationship field?
-
Hi,
I’ve created a pod (fietsroutes agenda) with a relationship to another pod (fietsroutes). Using your tutorial on getting values from a relationship field I managed to get data, but still have one problem:I need to display an image that is stored in ‘fietsroutes’ (fieldname=routekaart fieldtype=file/image/video) but can’t get that to work. I use a custom php template. I found examples for pods templates or featured image, but not for an image that is stored as file/image/video.
I’m using get_post_meta() to get the data from the relationship fields. Could you point me in the right direction for the image?Thanks in advance,
Bert.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to get image from relationship field?’ is closed to new replies.