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.