Home › Forums › Front-end Issues › Nesting relationship querys › Reply To: Nesting relationship querys
Looking over your code, you have written your meta malue like this:
'$speaker->ID'
This is not correct. It shoudld be:
'"' . '$speaker->ID' . '"'
There is a big difference and you can see it from the documentation on querying relationship fields.
Hope that helps.
Thanks
E
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.