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)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users