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?
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.
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.