Home › Forums › Backend Issues (wp-admin) › How do you access a User ACF field from a Post Query? › Reply To: How do you access a User ACF field from a Post Query?
To Clarify: The Elementor Post widget has a Post Query field that is the name of a PHP code snippet. This is where the code you talked about goes. I am able to pull the value of the Bio/Description field in the User profile that is signed in. I then set the Post Tag as being the value that is in the Bio field. Bio field has the company name. The Company name is also in the Tag of specific posts. This works perfectly. My challenge is that I can not access any of the ACF fields tied to the User Profile. I there a way to get to those fields?
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.