Assuming that all the meta (fields) in both of the Custom Post Types (CTPs) is relatable, this is the way I would go about figuring out how much work is in order:
- Make a new post in each CTP (both sites) and make sure all the meta fields are
filled in. It will help if you make all the fields that you want to
match have the same value (like Listing-Field-1) so they are easier
to match up later. - Export the CPT from both sites. In the resulting XML files, find the
post you just added. - Compare the XML elements to see how different the structure is.
If you are lucky, both CPTs will use the same structure. In that case you can find/replace the meta field names of the data you want to move to match up with where they need to go in the new system (sometimes some crafty selection tools in VS Code or Sublime Text can help).
If you are unlucky (like I usually am) you will have to write code to output the XML in a way that is structured to match the new system.
Or, you could use a plugin.
Related Posts:
- Create a clone from one WordPress site to another in a few minutes
- WP All Import – Using Xpath to set a select value
- WordPress export tool doesn’t export post-format value of custom post type?
- Two-way synchronizing of a post type among multisite blogs
- Should I use custom post types or a custom database tables for plugin development?
- Where are wordpress custom types stored?
- Delete all posts of a custom post type—efficiently
- How To Export/Import WordPress (MySQL) Database Properly Via Command-Line?
- Custom Post Types, or completely custom?
- Importing old blog with regular posts into new custom post types
- Custom Post Type with Input fields to seperate table on database.
- Right way of storing large number of custom post fields
- Export WP database for import using WP-CLI on Vagrant Box
- How to use custom database tables for custom post types?
- Custom Post Type or Custom Tables
- Custom post type or just use custom fields
- Resource Issues: Importing external data into custom post type and keeping records up to date
- Create Pages from Database
- Use Custom Database with Custom Post Type
- Custom Search | Wrong output & question
- How do I write this SQL statement for Posts written in last 24 hours?
- Custom post types not imported properly
- Save or update data when custom post published
- Custom post type Vs. data in own table
- Save custom post type in different table
- WordPress import not importing custom taxonomy
- Using posts and postmeta table to store custom Address Book Plugin data
- Beginner question: Accessing functions.php through admin web interface in order to import custom post types?
- How to use custom post type APIs, but use a different db table
- MySQL Syntax Error upon restoring database from backup [closed]
- Is it possible to import a wordpress backup from a single site in to a multi-site configuration?
- Importing New Posts from Live Site into Local Dev Site
- Developing WordPress on Kubernetes
- Recommended custom post type structure for TV Schedule site?
- Export Custom Post Type posts with all Custom Fields and Custom Texonomy associated with it
- How much of my site can I recover from public_html?
- WordPress post count not showing for custom post type author
- Where to store custom tagging data associated with a custom post type
- Export entries and multiple custom field meta to .csv?
- How to import files to individual posts of a custom type
- WordPress Local And Live Site
- WP_Query orderby and tax_query
- Importing Data from a Non-WordPress database, into WP
- How to organise this data within WordPress
- Organize WordPress site, so it can maintain with huge database
- Save custom post type to external database
- Show data from one Custom Post Type in another Custom Post Type
- Specifying meta field’s column type in Database using add_post_meta
- Replace dynamically content in a custom database table when a custom post is created
- Running a song lyrics site on WordPress
- Save and user submitted data from a form and display them in the wp backend
- Dump custom post type database
- Should I use custom taxonomies or not?
- Designing a custom post type with a minimum number of meta fields
- Best practice to import user base (subscribers) from one website to another?
- Importer fails to import every post
- Not able to export large no. of posts in csv
- Allow front end users to add data to a custom post type
- Create a page by importing data from an XML file ( On clicking a button inside admin options page)
- Convert comma separated list to serialized array to import as post meta
- WordPress hook which triggers on post import
- Update all published posts at once
- Entity to store contact form entries?
- How to export custom post type with ACF to individual file with automation?
- Ideas to connect external database table to wordpress posts as custom field source
- Database alteration: users who voted
- WordPress as a frontend website for iOS app [closed]
- Using custom post types WordPress network
- delete duplicate meta_value with same post_id
- Is it good practice to import/export a blog to test a redesign?
- custom post type: own database table structure and custom “new-post” interface
- Import External XML
- Say I have a tech blog, how best would I store technical specs for a phone, if i use custom post types
- How do you make relational post types in WordPress? [duplicate]
- Migrate Custom Post Type with Custom Fields data and parent child order
- Having a repeating custom field in admin custom post type, what I’d go better with, for DB’s sake? ACF repeater or query a different post type?
- Invalid content when I try to import custom post type from the old template wordpress
- Bulk Edit Media Library alt, caption, image names
- Does this archive template part look like its making too many calls to the db?
- Can’t Export Custom Post Types With Export Tool In A Custom Theme
- Right way to store a large set of similar information on website? [duplicate]
- when looping through custom post data not appearing
- custom post types, custom fields and normalization
- Custom post type and custom taxonomy key lenght & query performance
- WordPress shortcode to pull product post data
- How to return/export only data showing on screen in custom post type view all screen
- How select query is generated in a Custom Post Type?
- Custom post types imported from another wordpress site, not showing on frontend unless I go in and reupdate them
- dynamic vue widget inside custom post
- Create 3 Levels of relations with WordPress
- Exporting CPT from dev site and import into live site?
- How to replicate data storage and querying using WordPress. Custom posts/fields or Custom db tables?
- custom data model – link and populate from admin backend
- How to store additional data that is related to core data
- Confused about where to store my data
- Event Manager: Events Deleted are still in DB as published but hidden in admin
- Changing an item in drop down after 5 latest posts per taxonomy
- Populate custom post type/custom fields from an external database
- Limit Number of Custom Post Type Dashboard
- Automatically convert standard posts with custom fields to custom post types