├── README.md ├── composer.json └── advanced-custom-fields.php /README.md: -------------------------------------------------------------------------------- 1 | # Sage 9 and Sage 10 friendly Advanced Custom Fields configuration 2 | 3 | Sets up saving and loading of Advanced Custom Fields settings using [ACF Local JSON](https://www.advancedcustomfields.com/resources/local-json/). 4 | 5 | Local `.json` files are stored in `your-theme-name/resources/assets/acf-json` 6 | 7 | To install, run the following in your Sage 9- and Sage 10-based theme directory: 8 | ```bash 9 | composer require "mwdelaney/sage-advanced-custom-fields" 10 | ``` 11 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mwdelaney/sage-advanced-custom-fields", 3 | "description": "Advanced Custom Fields local JSON setup for Sage 9 based themes", 4 | "keywords": ["wordpress", "advanced custom fields", "json"], 5 | "homepage": "https://github.com/MWDelaney/sage-advanced-custom-fields", 6 | "license": "MIT", 7 | "authors": [ 8 | { 9 | "name": "Michael W. Delaney", 10 | "email": "michael@michaeldelaney.me" 11 | } 12 | ], 13 | "require": { 14 | "php": ">=5.3.2" 15 | }, 16 | "autoload": { 17 | "files": ["advanced-custom-fields.php"] 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /advanced-custom-fields.php: -------------------------------------------------------------------------------- 1 |