Hello WordPress community, I'm trying to migrate my one WordPress custom post type data to another WordPress site and I tried to migrate with SQL and WordPress's default export/import function but not working perfectly. The posts are created dynamically and print title with custom field value by shortcode so when I try to import its display duplicate post found.

I also try to export post with SQL, but it's not export custom field data and parent child hierarchy.


    SELECT * 
    FROM  `wp_posts` 
    WHERE  `post_type` =  "post type name here"


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.