Skip to content

Allows using Local JSON with ACF Pro without using a theme. Made for Oxygen Builder where the theme is disabled

License

Notifications You must be signed in to change notification settings

wplit/ACF-Local-JSON

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ACF-Local-JSON

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.

Installation

  1. Download the plugin here.
  2. Go to Plugins > Add New in your WordPress admin. Click on Upload Plugin and browse for the zip file.
  3. Activate the plugin.

Usage

  1. After installing, re-save your field groups and they will be now stored inside the acf-json directory in this plugin.

Support

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.

Changelog

1.0.0 - Oct 13, 2018

  • Initial Release

About

Allows using Local JSON with ACF Pro without using a theme. Made for Oxygen Builder where the theme is disabled

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages