Home › Forums › General Issues › Getting image url › Reply To: Getting image url
The problem is your field key.
field keys must begin with “field_”. The reason that you are getting the id is because ACF does not know what to return and that’s because it does not have a roper field key.
see this documentation http://www.advancedcustomfields.com/resources/register-fields-via-php/
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.