Skip Navigation

[Resolved] Duplicating RFG content when duplicating a post

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

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 6 replies, has 3 voices.

Last updated by Peter 5 years, 4 months ago.

Assisted by: Minesh.

Author
Posts
#1294265
Screen-Shot-2019-07-18-at-10.31.53-am.jpg

Tell us what you are trying to do?
The client has to split many large posts into many smaller ones. I have installed the Duplicate Posts plugin to clone posts, which will assist, but RFG content and Post Connections are not cloned. He is not worried about the latter as they're easy to redo, but was hoping to duplicate the RFG's content along with the post? Otherwise he's got several days work to do. I know this is complex due to the way RFGs are stored, but hoped you might have an idea.

Is there any documentation that you are following?
No, have searched.

Is there a similar example that we can see?
No.

What is the link to your site?
Provided, but the area open to public is very small.

#1294293

Hi,

You can export/import post content with WordPress built-in tools:
https://toolset.com/documentation/user-guides/exporting-and-importing-post-content/

After that, Toolset > Export / Import > Associations:
you can run "Start Import" button to import the RFG association, see our document:
https://toolset.com/documentation/user-guides/importing-content-from-csv-with-post-relationships/

#1295891

I'm not sure your export/import method would get me all the way, as the child posts that show as fields in the RFG need to be duplicated at the same time as the parent post is duplicated. I have a back up plan in PHP, fashioning a plugin to duplicate the parent posts then loop through the RFG child posts and duplicate them too, maintaining the association with the (duplicated) parent post. I'd need to look more at the structure of the RFG before attempting.

Anyway I've taken it back to the client to decide - they may wish to do it all manually. I'd like to keep this ticket open for a week, in case I do need to do this and get in a tangle. I'll try your way first.

Thanks.

#1297535

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Luo is on vacation. This is Minesh here and I'll take care of this ticket.

Sure. We will keep this ticket open.

#1300071

Hi, my client did a test run, and it didn't take as long as he thought to fork/duplicate everything semi-manually. He's opted to do it himself so I won't need further assistance with this. Thanks.

#1300191

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Thanks for the update. Please feel free to close this ticket.

#1300259

Closed.