I have some of post types. Let's say:
PostType1 and PostType2
So, I want to convert all of PostType2 to PostType1 and not lose it's data... Is there any way to do it fast and automatic, not manualy post by post?
Dear Kirill,
There isn't good way to migrate between post types from wp-admin, unfortunately. There are only a few options you can try, here is my suggestions:
1. Make manual modifications to the wp_post table in your database. Change the 'post_type' column of this post to match the slug of your desired post type.
2. Export your posts, edit the export package to use the desired post type slug, and re-import the posts as a new post type.
3. Use a 3rd-party plugin to do this for you. for example:
https://wordpress.org/plugins/search/convert+post+type/
I understand there are a few post type switching plugins but I don't have any experience with them so I can't really help much.
All of these options carry some risk, and you should always make a complete backup before you attempt any database changes. This way you can revert quickly if you make a mistake.