Home Forums General Issues Updating ACF on sites?


Updating ACF on sites?

  • We have used ACF for a while for very simple projects. Now we are considering using it on a number of sites. It will be used the same way with the same form on all the sites. If we have to change the form in the future is there some way to update it on all the sites like we can update our plugins/themes or do we need to go into each site and make the change? Thanks.

  • Whatever you do it will require updating every site. There are many ways to do that updating. It really depends on how complex you want to get.

    Almost anything you do will involve using local JSON.

    This is what I do.

    I create custom themes. Any site I build uses a child theme on one of my custom themes. The parent theme uses local JSON files in acf-json folder. I keep the parent theme in a private repo on GitGHub and it can be updated from there. That is a quick description, there is a lot involved in getting this set up.

    You could also do this by creating a plugin that has just the JSON files in it and load the field groups from your plugin. This would allow you to keep the field groups updated without affecting the theme. I have several plugins that use ACF fields in this way. Usually not field groups for themes though, these are usually specific to the plugin.

  • Thanks John, Good information for us. The plugin route seems to be the way to go.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.