Skip Navigation

[Resolved] Can I copy custom fields from one CPT to another

This thread is resolved. Here is a description of the problem and solution.

Problem:
Can I copy/assign custom fields from one custom field group to multiple post types.

Solution:
You can assign single custom field group to multiple post types.

You can find the proposed solution in this case with the following reply:
https://toolset.com/forums/topic/can-i-copy-custom-fields-from-one-cpt-to-another/#post-2295089

Relevant Documentation:
- https://toolset.com/course-lesson/creating-custom-fields/

This support ticket is created 2 years, 9 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.

Our next available supporter will start replying to tickets in about 6.68 hours from now. Thank you for your understanding.

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 4 replies, has 2 voices.

Last updated by janeC-2 2 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#2293717

I created a lot of custom fields for a CPT called 'entries'

Now I am creating another CPT called 'finalists' for the same website and I would like to use the same custom fields.
Is there a way to duplicate them?

Or do I need to create them again?

#2294137

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

When you try to add new custom field and click on "Add New Field" button from your custom field group, it will offer you popuip what type of field you want to create, with that popup you will see a button "Choose from previously created fields" from where you can add the existing fields you created.

Please check the following screenshot:
- hidden link

#2294727

No that's not what I was looking for.

I created about 50 custom fields and I would like to copy the whole Field Set to a new CPT

#2295089

Minesh
Supporter

Languages: English (English )

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

So, Lets say you created a Custom Field Group namely "ABC" that holds those 50 fields.

Now, you can edit your custom field group "ABC" and from the settings section available at top, you should click on "Edit" button and you can assign the same field group "ABC" to multiple post types as desired. Please check the following screenshot:
- hidden link

#2295169

Ah! that's it! Thank you

My issue is resolved now. Thank you!