ACF local JSON locator
WordPress plugin to specify the location of ACF local JSON files.
★ 4stars
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/jbarke/acf-json-locator/archive/refs/heads/main.zipFrom the readme
ACF local JSON locator
“ACF local JSON locator” allows a user to specify the save and load points for Advanced Custom Fields local JSON files. By default, the plugin will set the save and load path to wp-content/acf-json, but any writable location on disk could be used.
Description
Requires Advanced Custom Fields (ACF) version 5+.
Local JSON is a featured added in ACF version 5 that stores ACF settings in JSON files. This not only provides a performance boost, but it allows storing field settings in version control (which one defintely wants; code goes up, content goes down).
ACF stores the local JSON in the active theme directory by default, but I believe the data model should be independent of the theme (it makes changing themes that much easier). This plugin changes the save and load point for the local ACF to be wp-content/acf-json (or any writable location on disk a user specifies).
There is a similar plugin out there that sets the save and load point to the wp-content/uploads directory, but that directory should not be versioned, defeating one of the primary points of using local JSON in the first point.
Links
ACF
ACF Local JSON
Installation
1. Ensure Advanced Cust
Read the full README on GitHub →
Releases
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.