• I am upgrading an existing WP blog which makes extensive use of custom fields in their posts. Because we were limited to default post-types (shy of plugins which didn’t suit our needs), they are all default post types, and they were differentiated by the user which created them, and the custom fields which were filled out.

    Now that 3.0 offers custom post types, I want to go back and change the post types of previous posts from the default post type to one of our new post types rather than create new posts of the correct type. Is there a way to do that? Would it be a phpmyadmin query, or is there something in the Admin Panel I can do to make these changes.

    I have done a bunch of searching, but not come up with anything useful.

    Any assistance would be appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You could try using phpMyAdmin to change the appropriate records in your posts table. You’d change the post_type field. Of course you would want to only change one record, make sure that the post_type is a valid registered post_type and then see if you are happy with the results. Then change the other posts.

    Backup your database before proceeding. You might also change your permalinks to the default setting.

    Thread Starter dehuszar

    (@dehuszar)

    I will try this, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Changing post types of existing posts?’ is closed to new replies.