WP Manifestindependent plugin directory
manifest / unclassified / acf-json-storage

ACF 5 Pro JSON Storage

Save ACF 5 Pro field groups as JSON within this plugin, rather than inside your theme.

by Craig Simpson · github.com/craigsimps/acf-json-storage · website

23stars
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/craigsimps/acf-json-storage/archive/refs/heads/master.zip

Declares an update source (craigsimps/acf-5-pro-json-storage), so updates arrive through the plugin's own updater.

Readme

ACF 5 Pro JSON Storage

Save ACF 5 Pro custom fields as JSON within this plugin, rather than inside your theme.

I use Advanced Custom Fields 5 Pro for most custom WordPress projects, and the latest version supports saving your Field Groups to JSON. To activate this functionality out of the box, all you have to do is create a folder within your theme called /acf-json/. But I don't like that.

I prefer for these JSON files to be stored outside of the theme, because they're key to the functionality of the website, and functionality === plugin. Storing this data outside of your WordPress theme makes it inherently more portable, and means you can retain the ACF JSON data even if you change theme.

Once the plugin is installed and activate it will automatically save field groups as JSON within the plugin /acf-json/ folder when they are updated or saved.

Requirements

  • ACF 5 Pro (Synchronized JSON requires at least v5.1.5)

Getting Started with ACF Local JSON

Read the full README on GitHub →