ACF in WP Rig

Any level of ACF support can be added to your theme very easily following the PHP Architecture guide for WP Rig. We can create a custom component for ACF that we can use as a main controller for all ACF-specific concerns in the theme.

  • Create a new ACF component in the in the /inc folder by following this guide that outlines scaffolding a new component in WP Rig
  • Register your new ACF component as outlined in the guide

Other handy things.

  • Create acf-json folder in theme
  • After you create fields or import into WP dashboard they compile as json files in the acf-json folder and this can be synced across environments. Read more here: https://www.advancedcustomfields.com/resources/local-json/