Home › Forums › Bug Reports › File URL is showing File ID instead › Reply To: File URL is showing File ID instead
How are you pulling the field into the page? With a get_field or the_field call? Using something to help you do it?
For an ACF field that gives you options on how to return a value like file and image, what gets stored in the database meta key is usually the ID. The choice on how you return the info only gets applied when using a the_field or get_field ACF call. So if you’re using something that is pulling custom fields with get_post_meta instead, that’s likely why you’re seeing the issue.
Other times, I have seen ACF return a different value than what is selected before but usually toggling a different selection and saving then reselecting the alternative return value I want corrects it.
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.