Home › Forums › General Issues › Custom Data Model For Files › Reply To: Custom Data Model For Files
If you want to use a URL then I would use a URL field, or potentially a text field so that I can allow relative URLS if that what you’re looking for.
But this will not work if you want the person to be able to upload a file because ACF uses the WP media uploader for files.
There are ways in WP, filters, that would allow you to specify a custom path where a file should be saved but there really isn’t any way to get around the way the WP handles files as “posts” using ACF.
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.