Advanced Custom Fields and GIT in WordPress

Include Advanced Custom Fields or Advanced Custom Fields Pro in your theme and save fields groups as json (pretty awesome). This will allow you to easily version control fields and fieldgroups in GIT. Just move the plugin to your theme folder, rename it to “acf” and create another folder called “acf-fields”. Paste this to your functions.php.

 

Leave a Comment