Home › Forums › Front-end Issues › File download URL incorrect. Cannot download uploaded file. › Reply To: File download URL incorrect. Cannot download uploaded file.
Hi @elliot
Thanks for getting back to me. I’ve deleted the two posts that talked about images so as not to confuse matters.
I’ve since also reverted back to the “wp-content/uploads” folder to simplify matters so I don’t need to worry about the WP PATH constants as mentioned (is my thinking correct?)
My understanding therefore is as follows:
<?php if( get_field('download_label_english') ): ?>
<a class="label-en" href="<?php the_field('download_label_english'); ?>"><span></span>Label (ENG)</a>
<?php endif; ?>
But I still get an array URL even though I am not going the array route.
Many thanks
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.