Skip Navigation

[Résolu] Migrating Posts from one site to Custom Post type on another site

This support ticket is created Il y a 5 années et 3 mois. 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.

Marqué : 

This topic contains 1 réponse, has 2 voix.

Last updated by Beda Il y a 5 années et 3 mois.

Auteur
Publications
#1182452

Support,

I'm combining two projects and would like to migrate the posts from one site into a custom post type on another site. I've create the custom post type and setup the custom fields, but how would I go about transferring the posts so they file under the CPT?

Thanks,
Charles

#1182768

If the post Types have the exact same data structure, slug, etc, then you can use the WordPress Export/Import Tools.
https://codex.wordpress.org/Tools_Export_Screen

If you need to transport other options too, we also have a more advanced export/import AddOn:
https://toolset.com/download/toolset-advanced-export/

However, for posts, even custom posts with their fields and terms, the WordPress export/import mechanism is the way to go.

Note, if you need to change the post types name during this process then that won't work, you will then need to bring your data to a CSV file, and edit that file to add the new Post Type name for example, then import it with a CSV importer (we do have some DOC for that as well: https://toolset.com/documentation/user-guides/how-to-import-content-into-wordpress-using-csv/)
But this should not be needed here.

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