Home › Forums › General Issues › User Field (Relational) › Reply To: User Field (Relational)
For all function inside the loop after getting the value of the field you need to either supply the correct user id or use a function that allows specifiying the user. For example https://developer.wordpress.org/reference/functions/get_the_author_meta/ the second parameter should be the user id you want to get the meta for. If you don’t supply the user ID then WP assumes you want the author of the post and not a specific one.
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.