Skip Navigation

[Resolved] Manual, duplicate or import / export posttypes

This support ticket is created 5 years, 3 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 3 replies, has 2 voices.

Last updated by Nigel 5 years, 3 months ago.

Assisted by: Nigel.

Author
Posts
#1343603

Hi!
I am building a major site, which will contain nearly 25 different post types. The posttypes consists of about 30 custom fields.

Each posttype will look aproximatly the same, only with different titles. I have made one posttype, and I am wondering if there is a smart way to duplicate this posttype, so I dont have to program every single posttype from scratch.

There is no duplicate function inside toolset, so I am wondering if there is another approach to this?

#1343721

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screenshot 2019-09-19 at 09.48.26.png

Hi Samuel

You can duplicate post types from the list of post types at Toolset > Post Types (screenshot).

Did you mean something else?

#1345307

Hi Nigel,
Duplicating the post type works fine, but in the original post type there are a lot of custom fields, some special code, several views and so forth.

I am looking for a way to duplicate it all, not only the post type itself.

#1345803

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

There is no such option, no.

You may not need to recreate the custom field groups, if the post types use the same fields then you can simply assign a custom field group to lots of post types from the custom field group edit page (once you have registered the post types).

You can duplicate Views and then edit the duplicate and simply change the post type the View refers to.

But they are discreet steps, you can't do it in one go.