Want to know how to import and export Advanced Custom Fields (AFC) Data? We're going to show you how. We'll also link you to more in-depth articles on the same topics.
Here is what is contained in this article:
What is an Advanced Custom Field?
How to Add Advanced Custom Fields
How to Import Advanced Custom Fields
How to Export Advanced Custom Fields
Step 1: Create a New WooCommerce Product Export
Step 2: Customize Your WooCommerce Product Export to Include ACF Fields
Step 3: Configure Your Export Settings
Step 4: Run Your Export and Download Your File
Advanced Custom Fields — Frequently Asked Questions
Can I Import ACF Fields on Their Own?
How to Modify Advanced Custom Fields in Bulk?
An Advanced Custom Field is a custom WordPress field created through the Advanced Custom Fields (ACF) plugin. ACF fields go well beyond the native ability of WordPress to add and display custom data. This gives designers much greater control over the content and appearance of their websites.
Every Advanced Custom Field that exists on your website belongs to a Field Group. A Field Group is used by the ACF plugin to attach fields to post types or custom post types. Each Field Group has a title, fields, rules, and visual settings.
Here is how you add a new custom field group:
This video provides a good basic description of Advanced Custom Fields and how to add them to your website:
This is part of a 21-video series on ACF, which you can find here: https://www.youtube.com/playlist?list=PLgFB6lmeXFOoyP8YUj7TmDnzFrrPcjCf3
To see this process in action, watch this video:
For written instructions, see How to Import Advanced Custom Fields (ACF).
Let’s walk through an example. Suppose that you have a WooCommerce website and that you have decided to add a special User Level rating to your products. Each product can be classified as Beginner, Intermediate, or Expert. Here is the setup in Advanced Custom Fields just prior to publication:
Over time, you have classified some of your products as Expert, and you now wish to export a list of these products. Here is what you would do:
To begin your export, go to All Export › New Export.
WP All Export will apply the filter and update the screen:
Note that only three products meet the filter requirements by having a User Level of “Expert”.
To continue, click the Customize Export File button. This will bring you to the Drag & Drop screen.
When the export is complete, it will display this screen:
And that’s it. That’s how easily you can create Advanced Custom Fields and then export them using WP All Export!
For more information, see How to Export Advanced Custom Fields (ACF).
As you’ve seen from the preceding examples, the basic use of Advanced Custom Fields is pretty straightforward. When combined with WP All import and WP All Export, so are the tasks of importing and exporting ACF data.
However, with such powerful tools, there are invariably many nuances and complexities. We try to address some of these here.
Repeater fields are subfields that can be repeated as a way to loop through rows of data. WP All Import’s ACF Import Add-On allows you full control over your ACF import, including repeater fields. In fact, it offers three different modes for importing ACF repeating data.
These modes are:
No. This isn’t possible because all ACF fields are attached to a post type or custom post type. This means that you need to import data into the post type or custom post type where the ACF fields are attached (i.e., the children cannot exist without their parent).
Also, WP All Import and the ACF Import Add-On can only import data into ACF fields that already exist, i.e., it is not possible to create them while importing.
To import or export the ACF Field Groups and their fields, use the options in Custom Fields > Tools.
Import to ACF From CSV, Excel, and XML - Plugin Description
Export Advanced Custom Fields Data From WordPress - Plugin Description
Official Documentation: How to Import Advanced Custom Fields
Official Documentation: How to Export Advanced Custom Fields
How to Export and Import Gravity Forms Entries
How to Import and Export WordPress Users
How to Export and Import WordPress Categories and Tags
How to Import and Export WooCommerce Customers
How to Export and Import WooCommerce Products
How to Export and Import Variable Products in WooCommerce
How to Import and Export WooCommerce Orders
Best WooCommerce Bulk Edit Plugins