# Thinking about leaving ACF? What changes, and what does not

> You do not have to start from zero. Your values stay where they are, your groups come over from an export file, and you change a few function names. Here is the whole path.

Source: https://uglydev.com/blog/thinking-about-leaving-acf/
Updated: 22 November 2026

## In short

- Your stored values stay exactly where they are: a field keeps working while its name is the same.
- Groups, content types and options pages come over from an ACF export file, with a review of what is left out before anything is saved.
- In templates you rename functions (get_field becomes ugly_get) and rows become variables instead of a hidden cursor.
- You can run both plugins side by side and move one group at a time.

Nobody switches the plugin that runs half of their sites for fun. If you are reading this, something made you look: a renewal, a slow edit screen, a wish to keep fields in Git. This is the honest version of what leaving ACF means: what moves by itself, what you rewrite, what you gain, and how to do it without a risky night.

## Why people look for an ACF alternative

Advanced Custom Fields is good software, and most sites that use it are happy. The searches for an **ACF alternative** usually start from one of four places:

- **Fields that do not travel.** A field group is a row in the database. Moving it between your laptop, staging and the client site means export, import and hope.
- **Queries that grow.** The first `meta_query` is fine. The tenth, with three `relation` blocks, is a bug waiting for a Friday.
- **Blocks that need a toolchain.** A custom block for a quote should not need Node, a bundler and React.
- **A wish for plain words.** Teams want functions and screens that say what they do.

UglyFields is a custom fields plugin built around those four. It is not a fork and it is not a copy: it reads the same stored values, so the move is gentler than it sounds.

## What does not change

The part people fear is the data, and it stays where it is. UglyFields reads the same values from the same place in the database, so **a field keeps working as long as its name is the same**. There is no migration of your posts, no export of content and no “big night”.

> **Both at once:** You can keep ACF active while you move. UglyFields does not touch its post types or its options pages, so you can bring in one group, test it, and carry on. Nothing forces an all-or-nothing switch.

In practice this means you can start with the least important site you have. If something surprises you, ACF is still there and the data was never altered.

## What comes over with one click

In ACF, export your field groups to a JSON file. In UglyFields, open **Migration**, choose the file and read it. Before anything is saved you get a review screen that says what is new, what is different and, importantly, **what was left out and why**.

![The Migration screen of UglyFields reading an ACF export file](https://uglydev.com/wp-content/uploads/2026/11/shot-bring-in-my-acf-groups-1-1-scaled.webp)

*The review comes before anything is saved: what comes over and what does not.*

The list of things left out is short, and it is honest. A field type that has no equivalent (the Google Map field, for example) is named and skipped, not silently dropped. You decide what to do about it with the facts in front of you.

### Field groups, content types and options pages

Groups, their location rules, conditional logic, repeaters, flexible content layouts and options pages all come through the same file. Custom post types and taxonomies registered by ACF Pro are brought in too, so you do not end up with two plugins registering the same types.

## What you rewrite in your templates

This is the part that costs time, and it is mostly search and replace. The shapes are the same on purpose.

| In ACF | In UglyFields |
| --- | --- |
| `get_field( 'headline' )` | `ugly_get( 'headline' )` |
| `the_field( 'headline' )` (you escape it yourself) | `ugly_show( 'headline' )` (escaped for its type) |
| `have_rows()` / `the_row()` / `get_sub_field()` | `foreach ( ugly_rows( 'team' ) as $person )` and `$person->show( 'name' )` |
| `get_field( 'x', 'option' )` | `ugly_get( 'x', 'option' )` |

The bigger change is a good one. In UglyFields a row is a **variable**, not a hidden cursor. A template part can receive one, and nothing breaks when a loop sits inside another loop.

```php
// ACF: the row only exists inside the loop
while ( have_rows( 'team' ) ) : the_row();
	get_template_part( 'parts/person' );   // reads get_sub_field() from nowhere
endwhile;

// UglyFields: the row is a variable you pass on
foreach ( ugly_rows( 'team' ) as $person ) {
	get_template_part( 'parts/person', null, array( 'row' => $person ) );
}
```

If your theme has a lot of `get_sub_field()` calls inside template parts, this is where you will feel the difference most. The template part declares what it needs, and you can read it from the top.

## What you gain for the effort

- **Your fields live in files.** Every group is a JSON file in your theme, so it travels with Git and shows up in a pull request. [The agency workflow, step by step](https://uglydev.com/blog/fields-as-files-git-workflow-for-agencies/).
- **Search without `meta_query`.** `ugly_find()` takes the fields as they are. [A real example, 26 lines against five](https://uglydev.com/blog/stop-writing-meta-query/).
- **Blocks from a folder.** No React and no build step. [See how a block is made](https://uglydev.com/blog/build-a-gutenberg-block-in-a-folder/).
- **Output escaped for you**, so the safe way is also the short way.

## A realistic plan for one afternoon

1. **Pick one site** that is small or has a staging copy.
2. **Install UglyFields next to ACF.** Both can be active.
3. **Export your groups from ACF** and read the file in **Migration**. Read the list of what is left out.
4. **Bring in one group.** Open a page that uses it and check that the values are there.
5. **Search and replace the functions** in the templates that use that group.
6. **Repeat group by group.** When ACF has nothing left, deactivate it.

We wrote the same path as a tutorial with the exact clicks: [Leaving ACF in an afternoon](https://uglydev.com/recipes/leaving-acf-in-an-afternoon/). The technical details are in [Moving from ACF](https://uglydev.com/docs/files-sync-and-the-terminal/moving-from-acf/), and the [comparison page](https://uglydev.com/acf-alternative/) says where UglyFields is different and where it is the same.

## What to check before you decide

A fair comparison includes the places where you should look twice:

- **Field types you rely on.** If a project uses a type with no equivalent, the review screen will tell you. Decide if that part can be a different field or stays as it is.
- **Plugins that read ACF directly.** A plugin that calls `get_field()` will need to read the value another way. The stored value is the same, so a plain `get_post_meta()` still works.
- **Your own deadline.** A site in the middle of a launch is not the one to move first.

> **Before you decide:** Try it on a copy of one site. The free plugin has no time limit, and if a project turns complicated (flexible content, relationships, forms, many languages) [Pro](https://uglydev.com/pricing/) is there for exactly that.

If it fits, you will know within the first hour: either the first group comes over clean and the values show, or the review screen tells you why not. In both cases you have spent an afternoon, not a project.

## Common worries, answered

### “Will my editors notice?”

Not the content. The edit screens show the same fields with the same labels, in the same order, because they come from the same export. What they may notice is a calmer screen: required fields are marked and checked before publishing, and help text sits under the field.

### “What about the fields I built with code?”

If you registered fields in PHP instead of in the admin, you can write the same group as a JSON file in the theme. The format is plain, and the builder shows you the JSON of any group, so you can copy the structure of a group you already know.

### “Can I go back?”

Yes. Nothing about your stored values changes, and ACF can stay active the whole time. If you decide on day three that it is not for you, deactivate UglyFields and carry on. The only things you would have changed are the template functions you replaced, and those are in version control.

## A checklist for the day you switch

1. Back up the database and make a branch for the theme.
2. Export the groups from ACF and read the review screen in Migration, line by line.
3. Bring in one group and check a real page that uses it.
4. Replace the functions in the templates of that group, and search the theme for any other place that reads the same fields.
5. Check the front end, the edit screen and any plugin that reads the values.
6. Repeat. Deactivate ACF only when nothing is left to bring in.

The most common surprise is a plugin or a code snippet that reads a field you forgot about. A search of the whole `wp-content` folder for the field names catches it before the editors do.

> **If you use repeaters:** ACF repeaters come over with the rest. The loop changes: [here is the new one, side by side with the old](https://uglydev.com/blog/wordpress-repeater-field/).

## Questions people ask

### Do I have to migrate my content to leave ACF?

No. UglyFields reads the same stored values from the same place. A field keeps working as long as its name is the same, so there is no export or import of posts.

### Can I keep ACF and UglyFields active together?

Yes. UglyFields does not touch the post types or options pages that ACF registered, so you can bring in one group at a time and test it.

### What is not brought over from ACF?

The review screen lists it before anything is saved. A field type with no equivalent, such as the Google Map field, is named and skipped, not silently dropped.

### How long does moving a site take?

A small site with a few groups is an afternoon of work, mostly replacing function names in templates. Larger sites go group by group.

### Is there a cost to try it?

The free plugin has no time limit and works on unlimited sites. Pro adds flexible content, relationships, forms, languages and the terminal commands.

### Will my editors notice the change?

They see the same fields with the same labels. The main difference is a calmer screen, with required fields checked before publishing.

### Can I go back to ACF after trying UglyFields?

Yes. Your stored values do not change, and ACF can stay active the whole time.
