-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement local json syncing for ACF config #4
Comments
We need to make sure we test this to make sure we can support multiple json sync points. If for example, another plugin were to also have a sync location, would field groups properly sync to their separate json files in each plugin folder, or would they sync all the fields in the db to a single sync location. I feel like this was the issue we were running into with using this method. We should do some testing and see what happens. |
Adding a reference to a good "how to" article ACF has on this: https://www.awesomeacf.com/how-to-avoid-conflicts-when-using-the-acf-local-json-feature/ |
Potential difficulties:
Possible solutions: Manual UpdatesWith the
Storing ACF Fields in CodeThe workflow for creating and editing fields if we store them in code would look something like the following:
One possible solution to make working on the fields easier would be to include the Build a plugin to do all thisAnother possibility is we use the As an additional layer of safety, we would only install this plugin locally, requiring any field changes to be made locally. We could also check to make sure the I'm open to any thoughts on suggestions on any of these approaches. |
Description
See title
Why it's Important
To reduce the amount of manual uploading of ACF configs we have to do.
Alternatives
Possible Implementation
We did this in at least one other recent project. Find that and use that as inspiration.
Additional context
The text was updated successfully, but these errors were encountered: