https://github.com/getdave/advanced-custom-fields-file-picker
An Advanced Custom Field to pick a file from a chosen directory.
https://github.com/getdave/advanced-custom-fields-file-picker
Last synced: about 1 month ago
JSON representation
An Advanced Custom Field to pick a file from a chosen directory.
- Host: GitHub
- URL: https://github.com/getdave/advanced-custom-fields-file-picker
- Owner: getdave
- Created: 2015-11-12T16:14:15.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-07T11:56:59.000Z (about 10 years ago)
- Last Synced: 2025-02-26T02:41:22.440Z (over 1 year ago)
- Language: PHP
- Size: 18.6 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
-----------------------
# ACF File Picker Field
An Advanced Custom Field to pick a file from a chosen directory.
-----------------------
### Description
Provides a custom field type for Advanced Custom Fields which allows the user to pick a file from a directory within the currently active Theme.
The Plugin provides "globbing" functionality enabling the user to optionally filter which files within the chosen directory should be available for selection. Globbing rules follow the rules used by the
PHP [Glob function](http://php.net/manual/en/function.glob.php)
### Compatibility
This ACF field type is compatible with:
* ACF 5
### Installation
1. Copy the `acf-file_picker` folder into your `wp-content/plugins` folder
2. Activate the File Picker plugin via the plugins admin page
3. Create a new field via ACF and select the File Picker type
4. Provide the path the directory (relative to your Theme) containing the files you wish to pick from
5. (Optionally) provide a globbing pattern to filter the files you wish to be available to choose from (defaults to all files)
### Changelog
Please see `readme.txt` for changelog