Home › Forums › Front-end Issues › featured image from relationship field (backend) › Reply To: featured image from relationship field (backend)
There are some things that could make this not work.
1) What is the return value of the relationship field? Does it allow 1 or multiple selections?
2) Are you using the standard WP Featured image? Or are you using an ACF field for this? The code is based on the first options.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.