Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have a Wordpress site that I just updated to 3.1. I want to make use of custom post types now, my question is how can I assign (transfer?) a post to a newly created custom post type ?

For example, all my articles (news, poems, ideas to change the world) are in Posts. Now I have created the custom post types News, Poems, etc. and I want to transfer my old posts to these new custom post types.

I hope this is clear enough, anybody ?

share|improve this question
    
I suggest you take some time to consider whether you really wan to convert your posts to new post types. Read this article - it may help: ottopress.com/2010/wordpress-3-0-and-custom-post-types –  tnorthcutt Mar 15 '11 at 12:07
add comment

3 Answers

up vote 10 down vote accepted

It seems that the easiest way is to do it manually in the DB. If you don't have access to the DB, or if you don't want to do it manually, you can install a plugin that will do it one post at a time, or a plugin that will bulk convert a lot of posts at once

share|improve this answer
    
Thanks, and I have the choice ! Wonderful. –  mike23 Mar 15 '11 at 12:08
add comment

You can use "Convert Post Type" to convert from your categories to custom post types that you have already defined.

This plugin will convert all your selected categories to a custom post type that you can choose.

share|improve this answer
add comment

there is a great plugin Post Type Switcher that gives you simple way to change a post type in WordPress.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.