How to Update an ACF Field Name Without Losing the Data

Advanced Custom Fields (ACF)

Are you using ACF (Advanced Custom Fields) and have the need to change the field name, but then you discover that it makes all the data disappear?

Since ACF uses the field name as the meta key to save and retrieve data, it makes it seem impossible to change.  You may consider changing only the label and leaving the field name alone.

However, in some cases, changing the name is needed.  If you’re in that boat, I’ve got good news.  It is possible to migrate all your post meta data to the new meta key.

In this post, I’ll show you exactly how to run a couple SQL statements on your database to migrate all the post meta data from the old key to the new key. Continue reading How to Update an ACF Field Name Without Losing the Data

List of US States for Select Dropdown Field in ACF

ACF State Field Select Dropdown Options

If you’re using ACF (Advanced Custom Fields) and want a dropdown list of US states, then look no further.

Simply copy and paste this into the list of options in your ACF select field.

Continue reading List of US States for Select Dropdown Field in ACF