Toolset plugins offer a built-in import/export functionality, which allows you to transfer what you have built from one website to another.
In our documentation pages, you can also find information on how to import content of an entire site into WordPress.
When you ask for help or report issues, make sure to give us some information about the data that you import/export.
Problem:
The customer asked how to import the date value in the Toolset's date type field, using the WP All Import PRO plugin.
Solution:
Guided that the Toolset date type field, stores the date/time value in the UNIX timestamp format, and while importing the data in it, the same format should be used.
The customer asked if Toolset plugins include any built-in feature to import category metadata into different custom taxonomies.
Solution:
Guided that the Toolset plugins don't include any built-in feature for the bulk import of data, but, one can use the All Import plugin to import the taxonomy terms and their term fields/meta.
Problem: I have two custom post types in a one-to-many post relationship. Province is the parent (one) and District is the child (many). I would like to generate an export CSV that includes each District title and its parent Province title.
Solution: Go to wp-admin > All Export > New Export. The first step is to choose a specific post type, and choose District as that post type. Then click "customize export file" to move on to the next step. Usually ID, Title and Content are already in place in the builder. You can drag the ID and Content blocks out of the box since you don't want to include those items.
Next click "Add Field" below the builder area to add a new custom column for the Province Title. Choose the option to select a field to export, and select the ID field. You may need to reset the column name information after choosing the ID field. Check the checkbox to export a value from a PHP function, type prov_parent_title in the function name field, and paste this function in the function editor to define the custom prov_parent_title function:
Problem: I would like to know how to best export and import Toolset information across sites.
Solution: In general, you should use the built-in Toolset > Export / Import features for exporting and importing the following Toolset structures:
- Custom post types definitions
- Custom taxonomies definitions
- Custom field groups definitions
- Post relationship definitions
- Views
- Content Templates
- WordPress Archives
- Toolset Layouts
- Post Forms
- User Forms
- Relationship Forms
- WooCommerce Blocks settings
- Access settings
You should use the export tool built into WordPress (wp-admin > Tools > Export) to export your site content, for example:
- Posts, Pages, posts in Custom Post Types
-- The taxonomy terms associated with each post
-- The custom field values associated with each post
-- The post relationships associated with each post
- Media library items
Then use the import tool built into WordPress (wp-admin > Tools > Import) to import that site content, but only after you have imported the Toolset structures listed above.