Copying batches of posts and changing the post type as the same time
I have a bunch of posts (regular posts) in a site. I also have a custom post type defined in the same site. I’d like to be able to COPY all the posts and also change their post_type to the custom post type. In effect, i know I would have 2 copies of the post at that point.
Simple conversion from one post type to another is easy. But, this is different.
I’ve tried a few things. The most fruitful was:
1) export all of the content
2) edit the export file and find/replace:
This seems to work, except for the images. Since the images already exist in the site, they are not re-imported (good), but there are also no images attached to the new custom post type posts.
Any ideas? thanks.
- The topic ‘Copying batches of posts and changing the post type as the same time’ is closed to new replies.