WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am importing a large amount of content from Expression Engine, the content in the other Expression Engine is all grouped together. I have created all the custom post types and taxonomies to organize the content better. However, Once I import the content to WordPress, I need to move the content into the newly created post types.

How do I move content from one custom post type to another?

share|improve this question
What is the CMS? – Travis Pflanz Feb 10 '13 at 16:05
Expression Engine. – BillyMedia Feb 10 '13 at 16:58
up vote 1 down vote accepted

The information about post type is stored in wp_posts table in DB in column post_type - either post, page, attachement and other post types you've defined. So i quess you can use some SQL query in your case. Or you can write some script using WP_Query for fetching posts from cerain category (for example), and wp_update_post funtion setting post_type argument to desired post type...

share|improve this answer
Ah, ok. Thought there was an official way to do this. I did find a plugin wordpress.org/extend/plugins/post-type-switcher which looked like it might do the job. Throws an error on bulk edits. I posted the issue here if anyone can shed any light : wordpress.org/support/topic/php-error-with-bulk-edit?replies=1 – BillyMedia Feb 10 '13 at 16:56

Your Answer


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.