Is there a way to import a list of custom fields for a post type rather than manually creating them?
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/
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.
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.