Support

Account

Home Forums General Issues ACF File field (V4) data not showing

Solved

ACF File field (V4) data not showing

  • Hey all
    I have a three file object fields that are in a field set. All three file fields are exactly the same except for the field label and the field name. I have then retrieved the variables with a get_field() and placed it in a standard variable. The issue is that the first two variables show up. Both of these hold images. The last one holds a PDF and does not show up. I have double and triple checked the spelling. Done various tests and have even var_dumped the third variable and I can see the information including the link.
    As soon as I say
    echo $variable['url'];
    it does not show up.

    On a side note, the last variable has a _ at the end of the field name. Could that be causing the issue?

    Anyone else had this issue with file objects not displaying?

Viewing 1 post (of 1 total)

The topic ‘ACF File field (V4) data not showing’ is closed to new replies.