Navigation überspringen

[Gelöst] Create custom fields from a file

This support ticket is created vor 3 years, 8 months. 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 -

Zeitzone des Unterstützers: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 3 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Minesh vor 3 years, 7 months.

Assistiert von: Minesh.

Author
Artikel
#2475687

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

#2475953

Minesh
Unterstützer

Sprachen: Englisch (English )

Zeitzone: 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
Unterstützer

Sprachen: Englisch (English )

Zeitzone: 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.