Contributors: David Browne
Tags: acf, oxygen, json
Requires at least: ACF Pro 5.1.5
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Local JSON is a feature in Advanced Custom Fields Pro which saves field group and field settings as JSON files.
In short, the three main benefits to this feature are;
- Speeds up ACF as it reduces the amount of database queries on page load.
- Allows multiple devs to work on a project, use git to push / pull files, and keep all databases synchronized with the latest field group settings.
- Allows for version control over your field settings.
Usually, for this feature the files need to be stored inside a WordPress theme. This plugin just makes use of the filters to change the directory that ACF searches for, so they can be stored inside this plugin. Built especially for Oxygen where the theme is completely disabled.
See the official documentation, overview of Local JSON in ACF for a better understanding.
- Download the plugin here.
- Go to Plugins > Add New in your WordPress admin. Click on
Upload Plugin
and browse for the zip file. - Activate the plugin.
- After installing, re-save your field groups and they will be now stored inside the acf-json directory in this plugin.
I'd love to keep building useful tools for free. if you find my work valuable, consider buying me a coffee to show your support.
- Initial Release