Home › Forums › General Issues › get_field() gets data for some records but not others › Reply To: get_field() gets data for some records but not others
Hey! I noticed you’re encountering an intriguing issue with get_field – it’s grabbing the post ID consistently, but the name field from a group isn’t displaying consistently. Firstly, double-check that the field key (‘field_64b3a27f9a070’) is spot on for the name field in the group (‘field_64b38c4e3ec56’). Ensure the name field is populated for the post where it’s not showing. If the problem persists, consider debugging with var_dump to dive into the function’s output. Let’s iron out these kinks together! 👊
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.