Sync with theme

Learn how to synchronize your field groups, CPT and taxonomies with your theme to version control all your Modern Fields data.

Theme developers can automatically synchronize field groups, custom post types and taxonomies definitions just by creating a simple folder in their theme.

For this, just create a /mf-json/ folder at the root of your theme.

Every item will be saved as a separate JSON file under this folder every time you save it in your WordPress dashboard.

It’s useful to version control your Modern Fields data and share it with others developers of your team.

If a new dev joins your project, he can import theses files directly from the Import / Export menu.

In this documentation