Skip Navigation

[Resolved] Automate importing content from csv with post relationships

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

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 1 reply, has 2 voices.

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

Assisted by: Christian Cox.

Author
Posts
#867541
Manage Imports ‹ Van de Vanenblikhoeve — WordPress - Google Chrome.jpg
Export  Import ‹ Van de Vanenblikhoeve — WordPress - Google Chrome_2.jpg

Hi,

I follow the steps from https://toolset.com/documentation/user-guides/importing-content-from-csv-with-post-relationships/, but instead of uploading a csv using Toolset, I use WP All Import to import the child posts. See screenshot. This works great, because associations are loaded perfectly. See screenshot....

I will automate the import with WP All Import... but then I still must manually press the "Start Import" button to create the associations.

Is there a way to automate this with a cronjob or something else?

Thanks for your great support!
Martijn Hoogma

#868122

Hi, we recently added an API method that you can call to import association information from the postmeta of a child post:
https://toolset.com/documentation/user-guides/importing-content-from-csv-with-post-relationships/#toolset_import_associations_of_child-child_id

Will this work for your site?

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