• Resolved steven.m

    (@stevenmaas)


    I would like to clone a CPT. For example if I have properties I would like to create 2 CPT’s one called Properties and the other called Tours. I would like to enter data in properties and automatically have the same data entered into tours. Or Tours could just use the data in Properties without entering in data into tours. This way I can use two separate content templates to display the same data. Is there a way to do that?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Good day @stevenmaas

    I have to believe there is a way to do that overall, but automatically posting to 2 post types isn’t something that we have available out of box for either our free Custom Post Type UI, or our premium CPTUI-Extended.

    As is, it sounds like it’d need to be a custom solution.

    Thread Starter steven.m

    (@stevenmaas)

    Please consider a built in cloning of a CPT. This way I can have 2 root urls for same data like /property/ and /tours/ as well as two content templates to display same information. The data needs only to be entered into 1 of CPTs but shown automatically in the cloned CPT.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    I’m curious if https://wordpress.org/plugins/duplicate-post/ has that type of functionality where it could be done on publish.

    Beyond that, I can’t say I’ve ever seen much demand for automatically publishing to two post types at the same time, so it’s hard to justify putting that in the plugin itself. I’d be much more inclined to attempt to set something up for that and create a tutorial with code examples. It’s also nothing specific to CPTUI itself, but more listening to the “publish post” hook and doing extra wp_insert_post calls.

    Also there’d be some issues/concerns about SEO and duplicate content to consider.

    Thread Starter steven.m

    (@stevenmaas)

    I use the duplicate post right now. Like you mention no automatic option. If you do a tutorial please send link. Thanks again.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Clone CPT: Enter data in one CPT and automatically in another CPT’ is closed to new replies.