Home › Forums › Backend Issues (wp-admin) › Set File Upload path to be editable › Reply To: Set File Upload path to be editable
A file upload field holds the ID of the file which is saved as an attachment post type. There isn’t any functionality in this field to allow for what you want to do. You would need to use another type of field for a link. In this case I would create a radio field to allow the editor to select “upload file” or “external link to file” and then I would create a file field and a url field that both had conditional logic to display based on the selection of the radio field.
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.