• Dear Support,

    I am using Toolset Types Custom Post Generator:

    I have a website with a custom post structure that has sections of the custom post that are Children and Nested Grand Children of the Parent post. When I duplicate the post your plugin only duplicates the top-level elements of the post.

    Here is the Structure:
    Parent Post A (Custom Post)
    – Post Detail A1 (Repeating Field Group)
    — Line Item a (Nested Repeating Field Group)
    — Line Item b (Nested Repeating Field Group)
    – Post Detail A2 (Repeating Field Group)
    — Line Item a (Nested Repeating Field Group)
    — Line Item b (Nested Repeating Field Group)

    Parent Post B (Custom Post)
    – Post Detail B1 (Repeating Field Group)
    — Line Item a (Nested Repeating Field Group)
    — Line Item b (Nested Repeating Field Group)
    – Post Detail B2 (Repeating Field Group)
    — Line Item a (Nested Repeating Field Group)
    — Line Item b (Nested Repeating Field Group)

    My problem is Duplicate Post is only duplicating the Parent Post data but not the associated Post Detail (Repeating Field Group) and Line Items (Nested Repeating Field Groups).

    The answer I received from Toolset Support as as follows:
    “Hello, there’s nothing exactly like this built into Toolset. I doubt there is anything like it built into the Post Duplicator plugin, because of how RFGs are technically implemented in Toolset. An RFG is basically its own custom post type, related to the parent post in a one-to-many post relationship. So any tool that clones the parent post would also have to understand Toolset’s post relationships and how RFGs are managed in the databsae. Nested RFGs are even more complex, because they are children of another RFG, and I don’t know of any post duplication tool that is capable of cloning those. In short, I think it would take a considerable amount of custom code to make this work.”

    I am wondering if this is a feature that is achievable with your plugin or at the very least something that could be added?

    Thanks

  • The topic ‘Duplicate Custom Post Type with Child Custom Posts’ is closed to new replies.