Migration Guide: ACF / SCF to Field Forge
This is a step-by-step guide to migrating from Advanced Custom Fields (ACF) or Secure Custom Fields (SCF) to Field Forge. It covers preparation, backup, installation, the import process, verification, and deactivation. Plus troubleshooting for common issues and edge cases.
The good news: because Field Forge includes an ACF compatibility layer for ACF’s template functions, migration does not require rewriting theme code that only uses them. Your get_field(), have_rows(), and acf_register_block_type() calls keep working after migration (block registration needs PRO).
Part 1: Before you start
Why migrate?
Before investing time in migration, make sure the change is worth it. Reasons to migrate from ACF or SCF to Field Forge:
- StorageField Forge keeps field values in its own table,
wp_fieldforge_values, instead ofwp_postmeta, and reads a post’s values with one query that it caches - AI schema generationField Forge drafts a field group from a plain-language description
- Headless WordPress toolingTypeScript and GraphQL generation (paid plans)
- Schema versioninga revision of the field group for every save that changes it (the 50 newest are kept; the History button lists the 20 newest for restore)
If none of these apply to your situation, stay on ACF or SCF. Migration has a cost (time, testing, risk) and you should only migrate if the benefits outweigh that cost.
Compatibility check
Before migrating, verify that your ACF-specific code won’t hit edge cases in Field Forge’s compat layer.
Things that work out of the box:
get_field(),the_field(),get_fields(),get_field_object(),get_field_objects()update_field(),delete_field()have_rows(),the_row(),get_row(),get_row_index(),get_row_layout()get_sub_field(),the_sub_field()acf_register_block_type()(Gutenberg PHP blocks)get_field('name', 'options')andget_field('name', 'option')(options pages)get_field('name', 'user_123')(user custom fields)- All 35 field types (text, image, repeater, flexible content, relationship, etc.)
Things that need adjustment:
- ACF-specific hooks like
acf/load_field,acf/save_post,acf/format_value/type=text: Field Forge does not fire them (the only ACF action it fires isacf/init) and does not forward them to its own hooks. Field Forge has hooks of its own, with different names and arguments (for examplefieldforge/load_value,fieldforge/value_updatedandfieldforge/field_group_saved), so code that depends on ACF’s hooks has to be rewritten or dropped. - The
$format_valueargument ofget_field()and its relatives: Field Forge’s functions take the selector and the post ID only (get_field($selector, $post_id)) - Custom field type extensions registered via ACF’s hook system: Field Forge has no public API for registering a custom field type, so these types are not carried over
- Internal ACF PHP classes accessed directly (e.g.,
ACF\Admin\AdminFields) — these don’t exist in Field Forge - ACF’s internal JavaScript API (
acf.addAction(), etc.) — Field Forge has its own JS API
A site that only calls the ACF template functions is not affected by the items above. Themes typically only use the template functions, not the internal APIs.
How to audit your code:
Run a grep across your theme and custom plugin files:
# Find all ACF template function calls (should work)
grep -r "get_field\|have_rows\|the_sub_field\|acf_register_block_type" wp-content/themes/your-theme/
# Find ACF-specific hooks (need adjustment)
grep -r "add_action.*'acf/\|add_filter.*'acf/" wp-content/themes/your-theme/
# Find ACF internal class usage (needs rewrite)
grep -r "\\\\ACF\\\\\|use ACF" wp-content/themes/your-theme/
If the first grep returns results and the second two are empty, you’re in the clear — direct migration works. If the second or third returns results, plan for additional code updates after migration.
Part 2: Backup (critical)
Full database backup
Always backup before migration. This is non-negotiable.
Via your host’s tool:
Check your host’s documentation for a database backup tool and use it.
Via WP-CLI:
wp db export backup-before-fieldforge-$(date +%Y%m%d).sql
This creates a SQL dump of your entire database. Keep it somewhere safe (download to local, upload to S3, etc.). If migration goes wrong, you can restore from this dump.
Via plugin:
UpdraftPlus, BackupBuddy, BackWPup, or similar. Run a full backup — database AND files — before proceeding.
File backup
Back up your entire wp-content/ directory too. If you’re using ACF’s Local JSON feature, the JSON files are in wp-content/themes/your-theme/acf-json/.
Staging environment (recommended)
If possible, do the migration on a staging environment first. Clone your production site to staging, run the migration, verify everything works, then repeat on production. Check your host’s documentation for a staging environment.
If you don’t have staging, do the migration during low-traffic hours.
Part 3: Install Field Forge
Download the plugin
Go to Field Forge pricing and purchase a license. You’ll receive a download link for the Field Forge plugin ZIP file.
Or install the free version from WordPress.org:
- WordPress admin → Plugins → Add New
- Search “Field Forge”
- Install and activate
Note: the free version covers the core migration features. Paid plans unlock AI generation, TypeScript, GraphQL, and some advanced field types.
Upload and activate
- WordPress admin → Plugins → Add New → Upload Plugin
- Choose the Field Forge ZIP file
- Install Now → Activate Plugin
Field Forge now appears in your WordPress admin menu. ACF (or SCF) is still active — you’ll deactivate it later.
Activate your license
If you purchased a paid plan, activate the license:
- Field Forge → License
- Click Connect to Avakode
When the connection works, the page shows the notice “Connected to Avakode successfully! Your license is active.”
Confirm Field Forge and ACF don’t conflict
Field Forge’s ACF compatibility layer only takes over once ACF is deactivated. When both plugins are active:
- ACF continues to serve all template function calls (
get_field(), etc.) - Field Forge does NOT override ACF’s functions (because ACF is still the authoritative source)
- Field Forge registers its own admin screens alongside ACF’s
- You can configure Field Forge field groups without affecting ACF
This means there’s no conflict during migration. You can work in both plugins’ admin screens simultaneously.
Part 4: Run the import
Open the import tool
- WordPress admin → Field Forge → Tools
- Find the Import from ACF card
- Click Detect ACF Data. Field Forge reports how many field groups, fields and posts with values it found
Choose what to import
The card offers three import buttons. There are no import options to set:
- Import Field Groupsimports the field group definitions. Run it first: the value import needs the field mappings this step creates
- Import Valuesshown only after Import Field Groups has run on the screen; copies the values stored in
wp_postmetainto Field Forge’s custom table - Import Field Groups with Valuesdoes both in one step
If the value import finds no field mappings, it stops with “No ACF field mappings found. Import field groups first.” With Field Forge Pro (license active) the import also creates the options pages that ACF has (the ones made in ACF 6.2 or newer and the ones registered in code while ACF is active), and the value import copies the values that ACF keeps in wp_options for them, for regular, Group and Repeater fields. A page that already exists in Field Forge is left as it is, and a value that Field Forge already holds is kept. Flexible Content and Clone values are not copied, and neither are the values of a page that has a post ID of its own in ACF. Without Pro no options page is created and nothing is copied from wp_options: the values stay where they are, and get_field( 'name', 'option' ) reads them from there while Field Forge has no value of its own for that field. A field group whose location rule names an options page keeps that rule. To edit those values in Field Forge, activate Pro and import again.
Run the import
Import Field Groups runs at once. Import Values starts a background job: the posts that carry ACF values are split into batches of 50, each batch is queued in the shared Forge queue (wp_forge_queue) and processed by WP-Cron. A progress bar on the card shows a line such as “3 / 12 batches completed, 1 failed (25%)”; the failed and processing counts appear only when there are any. When the last batch is done the card shows “Value import finished!”.
The batch size is fixed at 50. There is no setting for it, no dry run, no option to skip empty values and no estimate of the remaining time.
If you leave the page
The batches run on the server through WP-Cron, so closing the tab does not stop them, and the progress bar picks up from the stored state when you open the Tools page again. There is no Resume button. Starting the value import again (Import Values, or Import Field Groups with Values) clears the queued migration jobs and starts every batch again from the first post.
Part 5: Verify the migration
Automatic verification
Field Forge does not compare the imported data with the ACF data afterwards. The feedback it gives is: after Import Field Groups, the number of groups imported and of errors, with a log; while values are imported, the progress line (batches completed, failed, processing); at the end, “Import complete!” and “Value import finished!”. Check the result yourself, as described next.
Manual verification
Don’t rely only on automatic checks. Spot-check important pages:
1. Check a typical post with custom fields
Go to WordPress admin → Posts → pick a post that uses custom fields → scroll to the Field Forge metabox → verify field values match what’s in the ACF metabox above.
2. Check a page with flexible content
If you use flexible content fields, check a page with multiple layouts. All layouts should appear in the Field Forge metabox with correct field values.
3. Check a page with repeaters
If you use repeater fields, verify all rows are present with correct sub-field values.
4. Check options pages
With Field Forge Pro (license active) the importer creates the options pages and copies their values (see Part 4); without Pro it does neither. Open the options page in Field Forge Pro and compare it with the ACF page: a field without a value in Field Forge shows the ACF value from wp_options. Save the page to store the values in Field Forge’s own table.
5. Check the frontend
Load the homepage and several key pages in a browser. ACF is still active at this point, so frontend rendering still comes from ACF. Confirm nothing has broken during the migration process.
If verification fails
If any check fails:
- Don’t panic. ACF is still active; your site is still serving content normally.
- Read the import log. The log under the import buttons has one line for each field group:
+for a group that was created,~for one that was updated,xfor one that failed (for example “DB insert failed”), and the numbers of groups and errors are shown above it. Field Forge has no Logs screen and no report by field type. - Re-run the import. Sometimes transient errors (timeouts, temporary database issues) resolve on retry. Import Field Groups updates a group with the same title from ACF, so it overwrites edits you made to that group in Field Forge.
- Contact support — [email protected] with details about the failure.
Part 6: Deactivate ACF (the critical step)
This is the moment of truth. Deactivating ACF activates Field Forge’s compatibility layer — all get_field() calls from your theme will now resolve to Field Forge’s storage instead of ACF’s.
Before you deactivate
- Verify everything is migrated (Part 5)
- Confirm frontend looks correct with ACF still active
- Have your backup ready (Part 2)
- Pick a low-traffic moment if this is a production site
Deactivate ACF
WordPress admin → Plugins → Installed Plugins → Advanced Custom Fields → Deactivate
Do NOT click “Delete” yet — we want ACF available as a fallback if something goes wrong.
What happens immediately
The moment ACF is deactivated:
- ACF’s template functions (
get_field, etc.) stop being registered by ACF - Field Forge’s compatibility layer detects this and registers its own implementations
- Template calls now resolve to Field Forge’s storage
- Field Forge’s admin screens take over the “Custom Fields” navigation
Test the frontend
Immediately reload the frontend:
- Homepage — does it look correct?
- A page with flexible content — do all sections render?
- A page with a repeater — do all rows display?
- Options pages — do global settings appear (site name, social URLs, etc.)?
- A Gutenberg PHP block (if you use
acf_register_block_type()) — does it render?
If everything looks correct, the migration is successful. Celebrate.
If something is broken, go to Part 8 (Troubleshooting) below.
Part 7: Cleanup and optimization
Delete ACF (after 1 week)
Wait 1 week with Field Forge active before deleting ACF entirely. This gives you time to discover any edge cases that weren’t caught in immediate verification. If issues come up, reactivate ACF as a fallback while you debug.
After 1 week of stable operation:
- WordPress admin → Plugins → Installed Plugins
- Advanced Custom Fields → Delete
- Confirm deletion
- ACF is gone from your site
Optional: clean up wp_postmeta
After migration, ACF’s data is still sitting in wp_postmeta (Field Forge’s migration is non-destructive — it copies data, doesn’t delete from source). This extra data takes up space but doesn’t harm anything.
If you want to clean it up:
DELETE FROM wp_postmeta
WHERE meta_key LIKE '_%'
AND meta_key IN (
SELECT DISTINCT meta_key
FROM wp_postmeta
WHERE meta_key LIKE '_%'
);
WARNING: This SQL is approximate and dangerous. Only run it if you’re comfortable with database operations AND have a recent backup. Field Forge’s support can help with a safer cleanup query tailored to your specific field groups.
The cleanup is optional: ACF’s rows stay in wp_postmeta until you remove them.
Optimize Field Forge settings
Now that you’re fully on Field Forge, take advantage of its features:
- Enable Local JSON Sync — save field groups as JSON files for git versioning (Field Forge → Settings → Local JSON)
- Enable object cache — if you have Redis or Memcached, Field Forge uses it
- Try AI schema generation — the next field group you create, try the AI generator instead of building manually
- Generate TypeScript types — if you have a headless frontend, download the .d.ts files from Field Forge’s admin
Part 8: Troubleshooting
“Missing field values” after deactivating ACF
Symptom: A post that had custom field values in ACF appears empty in Field Forge after ACF is deactivated.
Cause: The field value didn’t migrate during the import. This can happen if:
- The field was added to ACF after the last time a post was saved
- The field has an unusual storage format (very rare)
- The import was interrupted before this specific post was processed
Fix:
- Reactivate ACF (the importer does not delete its data)
- Go to Field Forge → Tools
- In the Import from ACF card, click Detect ACF Data, then Import Field Groups with Values (Import Values is shown only after Import Field Groups has run on the screen). The groups are imported again too: a group with the same title is updated from its ACF definition, so edits you made to that group in Field Forge are replaced
- The value import clears the queued migration jobs and starts again from the first post, so it also picks up values that were missed
- Deactivate ACF again and re-verify
“Broken template” after deactivating ACF
Symptom: A template that used to render correctly now throws a PHP error or shows unexpected content.
Cause: The template is using an ACF-specific function or hook that Field Forge’s compat layer doesn’t cover.
Fix:
- Reactivate ACF
- Check PHP error logs for the specific function / hook that failed
- Identify which ACF-specific API the template is using
- Update the template to use Field Forge’s equivalent
- Deactivate ACF again
Most common culprits:
acf_add_local_field_group()— Field Forge does not define it. While ACF is active, the migration tool picks up field groups registered this way: import them, then remove the callacf_form()— use Fillin Forge or a different form builder- Custom field types registered via
acf/include_field_typeshook: Field Forge has no filter or API for registering a custom field type, so they are not carried over
“Slower performance after migration”
Symptom: Pages load slower after switching to Field Forge.
Cause: If a page is slower after the switch, check:
- Object cache isn’t configured correctly — Field Forge falls back to database queries
- WordPress’s
WP_DEBUGis enabled with a large logging file - A different plugin is causing the slowdown (coincidental timing)
Fix:
- Check your object cache plugin is active and working
- Disable
WP_DEBUGandWP_DEBUG_LOGin production - Contact support with timing details
“Migration seems to have skipped options pages”
Symptom: Options page values appear empty or default after migration.
Cause: The importer creates options pages and copies their values only with Field Forge Pro (license active), only for pages made in ACF 6.2 or newer or registered in code while ACF is active, and only for regular, Group and Repeater fields of a page that does not have a post ID of its own in ACF. ACF keeps options page values in wp_options. Field Forge reads those rows (options_ plus the field name) only while it has no value of its own for the field, and the options page itself is a Field Forge Pro feature.
Fix: There is no Re-import Options Pages button. Activate Field Forge Pro and import again, or create the options page in Field Forge Pro, check each field (a field without a value in Field Forge shows the ACF value from wp_options) and save the page, which stores the values in Field Forge’s own table. The old values stay in wp_options as long as you do not delete them.
“Repeater rows are in the wrong order”
Symptom: Repeater fields migrated, but the rows appear in a different order than they were in ACF.
Cause: Rare race condition during the import where the row_index wasn’t correctly set.
Fix: Contact support with the specific field group name. This is typically a one-time fix with a SQL update.
Part 9: Rollback (if you need it)
Quick rollback
If the migration goes wrong and you need to return to ACF:
- Reactivate ACF (Plugins → Installed Plugins → ACF → Activate)
- Deactivate Field Forge (Plugins → Installed Plugins → Field Forge → Deactivate)
- ACF’s template functions re-register
- Your site returns to serving data from wp_postmeta (ACF’s storage)
- Everything works as it did before the migration attempt
The importer does not delete ACF data, so you can go back to ACF while ACF and its data are still installed.
Full rollback to pre-migration state
If you want to completely undo the migration and remove Field Forge:
- Reactivate ACF
- Deactivate Field Forge
- Delete Field Forge on the Plugins screen. Deleting it drops its four tables (field groups, values, options, revisions) unless the
fieldforge_keep_data_on_uninstalloption is set to 1. There is no Delete All Data button in Settings, and uninstall does not remove the JSON folderwp-content/uploads/fieldforge-json/ - Your site is back to exactly where it was before migration
Frequently asked questions
How long does a typical ACF migration take?
It depends on the size of the site. Import Field Groups runs first; Import Values runs in the background in batches of 50 posts, and the progress bar on the Tools page shows how many batches are done.
Will my rankings drop during migration?
No. Migration doesn’t change URLs, content, or meta data that Google sees. Field Forge migrates the storage layer only.
Can I run ACF and Field Forge indefinitely?
Technically yes during migration, but not as a long-term production setup. Running both means duplicate admin UIs and configuration confusion.
What about ACF Pro features like Repeater and Flexible Content?
Field Forge’s paid plans include the Repeater, Group, Flexible Content and Clone fields and Options Pages. Repeater, Flexible Content, Group, Clone, Options Pages, PHP Blocks — all work after migration. Gallery is a free field type and works too.
Do I need to rewrite my theme code?
Usually not for template code. While ACF is not active, Field Forge defines get_field(), the_field(), get_fields(), get_field_object(), get_field_objects(), update_field(), delete_field(), have_rows(), the_row(), get_row(), get_row_index(), get_row_layout(), get_sub_field(), the_sub_field(), get_sub_field_object(), the_flexible_field(), acf_add_options_page(), acf_add_options_sub_page(), acf_register_block_type() and acf_register_block() (the two options-page functions and the two block functions register nothing without PRO). It does not define other ACF functions, for example acf_form(), acf_add_local_field_group(), update_sub_field(), add_row() or acf_get_field(), and it does not fire ACF’s field and save hooks (acf/format_value, acf/save_post, acf/load_field and the like; the only ACF action it fires is acf/init). Code that uses those has to be changed, so search your theme and plugins for them before you deactivate ACF.
What if I have custom ACF field types from third-party plugins?
Field Forge has no public API for registering a custom field type, so custom types registered through ACF’s hook system are not carried over. Contact support for help with specific cases.
Can I migrate back from Field Forge to ACF later?
Not directly. Field Forge has no export in ACF’s format: the JSON export on the Import / Export screen (PRO) writes the field groups as Field Forge stores them (title, fields, location rules, order). The ACF importer only reads ACF’s field groups and values and writes to Field Forge’s own tables, so ACF’s data stays where it was, but nothing copies field groups, or changes made in Field Forge, back to ACF. (The Sync to PostMeta setting on the Settings screen writes the values of a post to wp_postmeta when you save the post, but it creates no ACF field groups.)
Is the migration free?
Field Forge’s free version on WordPress.org includes the migration tools. You only need a paid license for AI features, TypeScript/GraphQL generation, and some advanced field types.
Does migration work for SCF too?
Yes. The importer reads the same acf-field-group records for ACF and SCF and does not tell them apart.
Ready to migrate?
14-day refund. Free version includes migration tools. Priority email support is included in every paid plan.
Questions before you start? Contact support →