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’re reaching out to our multilingual users to ask for help in translating ACF 6.1. Help make sure the latest features are available in your language here: https://t.co/TkEc2Exd6U— Advanced Custom Fields (@wp_acf) May 22, 2023
© 2023 Advanced Custom Fields.