Skip Navigation

[Resolved] Is it possible to import relation data with parent’s id ?

This thread is resolved. Here is a description of the problem and solution.

Problem: I would like to import relationship data using the parent post's ID instead of title, since some titles can be duplicated.

Solution: Yyu can use the post ID in the CSV file. We have a guide available here: https://toolset.com/documentation/user-guides/how-to-import-content-into-wordpress-using-csv/import-csv-ultimate-csv-importer-plugin/how-to-import-posts-from-csv-files-and-maintain-relationships-when-using-the-csv-importer-plugin/

This support ticket is created 5 years, 8 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
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 2 replies, has 2 voices.

Last updated by insooJ 5 years, 8 months ago.

Assisted by: Christian Cox.

Author
Posts
#1077301

I'm moving to new relationship.
New version is very convenient but import/export is more complicated than old one.
I have used "WP All Import plugin" for importing but I have no choice to use " Ultimate csv import pro" now.

In new relation, I'd like to import data with parents id instead of parents title.
Is it possible?
Post title may be duplicated unlike id.

What is the best way to import for relation data ?

#1077500

Sorry I didn't understand - can you use Ultimate CSV Importer Pro?

If yes, then you can use the post ID in the CSV file. We have a guide available here: https://toolset.com/documentation/user-guides/how-to-import-content-into-wordpress-using-csv/import-csv-ultimate-csv-importer-plugin/how-to-import-posts-from-csv-files-and-maintain-relationships-when-using-the-csv-importer-plugin/

If no, you can use the post GUID in the CSV file as described in the last line in this section:
https://toolset.com/documentation/user-guides/importing-content-from-csv-with-post-relationships/#how-toolset-associations-can-be-added-to-a-csv

Instead of using the title of the post you can also use the GUID. This is helpful for the case you do not have unique titles.

You can find the post GUID in the posts table of the database.

#1084175

I'm look forward to using CSV export/import tool, All import plugin asap.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.