Skip Navigation

[Resolved] Trying to Clone Custom Post with RFG and Nested RFG Records

This support ticket is created 4 years, 11 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.

Our next available supporter will start replying to tickets in about 2.46 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 1 reply, has 2 voices.

Last updated by Christian Cox 4 years, 11 months ago.

Assisted by: Christian Cox.

Author
Posts
#1406947

Tell us what you are trying to do?
I need the ability to clone a toolset custom post. This custom post has Repeating Field Groups (RFG) and Nested Repeating Field Groups (NRFG) associated with each. When I clone the custom post with "Duplicate Post" plugin, it clones the Post, but not the RFG data and not the NRFG Data which has the most important post detail.

It is there a way to clone the complete post with RFG and NRFG perfectly?

What is the link to your site?
hidden link

Thanks

#1407513

Hello, there's nothing exactly like this built into Toolset. I doubt there is anything like it built into the Duplicate Post 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. If you'd like to see something added to the software, I encourage you to submit your request here: https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/