Duplicate custom post types

This topic contains 4 replies, has 2 voices, and was last updated by  Andrew 5 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #450718

    Andrew
    Expired Member
    Post count: 197

    Hi,

    I’ve created a set of different custom post types, and within them I am creating a large set of custom fields. To save me from having to create those custom fields for each custom post type (I have 11), is there a way to either copy/paste the custom fields (including the Tabs and Search layouts), or to duplicate post types?

    Thanks,
    Andrew

    #450719

    Guust
    Moderator
    Post count: 29970

    Sorry, but there is no possibility to do that.
    If the CPTs are so identical, would it not be simpler to use categories in the same CPT? Just wondering …

    Thanks

    #450721

    Andrew
    Expired Member
    Post count: 197

    All good. Reason I set them up as different post types is because I wanted a way to have 2 tiers of categories – 1 more general set, and 1 more specific set (e.g., Accommodation > Apartments). I know I could have used 1 post type with categories as the general set, then used tags as the specific set, but I did want more segregation …

    Thanks either way!
    Andrew

    #450722

    Guust
    Moderator
    Post count: 29970

    Or you could have used sub-categories 🙂 … but like you said, all good 🙂

    #450727

    Andrew
    Expired Member
    Post count: 197

    Silly me didn’t realise I could set a parent category … I will play around with it. Lucky I’m still in dev stage.

    Thanks!
    Andrew

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket