Home › Forums › ACF PRO › Local JSON in a multisite instance › Reply To: Local JSON in a multisite instance
The only real solution is to use a child theme on the site where the local JSON is defined in the parent theme and there is no local JSON folder in the child theme. Then you can set a second load path to load the JSON files in the parent theme https://www.advancedcustomfields.com/resources/local-json/
A solution for saving local JSON for and fields created in the child theme sub site would be to create a place outside of the theme to save and load field groups in the child theme. For example, when the theme is activated you can create an acf-json folder in wp-content/uploads/sites/{$site_id}/ and set the save and load points for the child theme to this location and this would create a unique location for json files for each site.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.