Home › Forums › General Issues › How to auto sync json acf groups in multisite network? › Reply To: How to auto sync json acf groups in multisite network?
I do not sync field groups to all sites in a mutlisite installation. There is not really any need to do this.
This is what I do.
I create a theme with an acf-json folder and I activate this theme on only one site. This is my dev site. This is the only place where changes to a field group are made.
Any other site in the network that uses this theme is set up using a child theme. Part of the parent theme code is checking to see if a child theme is being loaded and if it is then it adds a load point to load the field groups from the parent theme. No syncing to these sites is needed.
I’m trying this solution, but even with all plugins disabled I keep getting endless loading (white screen) when I activate the child theme and visit the front-end.
I’ve tried manual child theme and a plugin “child theme creator” but neither work. Any ideas? I’m nog 100% knowledgable on multisites.
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!
Plugin boilerplates can do some of the heavy lifting during initial development. We look at four options to speed up your plugin creation. https://t.co/ZtMsdBxAHw— Advanced Custom Fields (@wp_acf) June 5, 2023
© 2023 Advanced Custom Fields.