Skip Navigation

[Resolved] Create custom fields from a file

This support ticket is created 2 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 2 years, 8 months ago.

Assisted by: Minesh.

Author
Posts
#2475687

Is there a way to import a list of custom fields for a post type rather than manually creating them?

#2475953

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Using what source you want to import the custom fields?

Basically either you can use import/export feature to import/export Types structure from: Toolset => Export/import

Another way to export/import specific post types, custom field groups, taxonomy etc..etc.. you can use the Toolset's Module Manager plugin:
- https://toolset.com/documentation/legacy-features/export-import/modules-exporting-and-importing/

#2477271

Hello Minesh,
I was hoping more like a JSON import like below:
id (Number)
name (String)
company_name (String)
street_address (String)
From your response I can see, you need to have done the work in Toolset and in a previous site to be able to import and export.

Thanks.

#2477337

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Here is another method to import content using CSV:
=> https://toolset.com/course-lesson/how-to-import-content-into-wordpress-using-csv/

But, you will have to create the designated post type and custom fields before you import.