Title: Post Type Update
Last modified: August 21, 2016

---

# Post Type Update

 *  [dfenton](https://wordpress.org/support/users/dfenton/)
 * (@dfenton)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/post-type-update/)
 * Is it possible for this plugin to update the post type to a new one?
 * We have one post type we use for items for sale and another for sold items, we’d
   like to be able to bulk edit sold items by simply changing the post type and 
   adding a couple extra fields when providing the ID for the post.
 * Currently when I try doing this I get an error:
    “The post type value from your
   csv file does not match the existing data in your database. post_id: 6853, post_type(
   csv): past, post_type(db): item”
 * Any thoughts?
 * [https://wordpress.org/plugins/really-simple-csv-importer/](https://wordpress.org/plugins/really-simple-csv-importer/)

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

 *  Plugin Author [Takuro Hishikawa](https://wordpress.org/support/users/hissy/)
 * (@hissy)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/post-type-update/#post-5128427)
 * It is able to do this… please try `really_simple_csv_importer_save_post` filter.
 * In default, the plugin reject requests to change post type, because for protect
   some hidden post type like attachment or revision.
 *  [shippin](https://wordpress.org/support/users/shippin/)
 * (@shippin)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/post-type-update/#post-5128646)
 * Hey Takuro,
    Can you please explain how to fix this by using the really_simple_csv_importer_save_post
   filter ?
 * Thanks!
    Jonathan
 *  [shippin](https://wordpress.org/support/users/shippin/)
 * (@shippin)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/post-type-update/#post-5128647)
 * OK I don’t think I did it the right way, but I got around this by removing the
   check in php.
    Or to be a bit more accurate, I replaced the lines that had the
   error message (and some actions) with the same action as was above them, so no
   matter what the situation was, it would go ahead and update the post type from
   the CSV data.
 * Best,
    Jonathan

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

The topic ‘Post Type Update’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/really-simple-csv-importer_c5cdac.
   svg)
 * [Really Simple CSV Importer](https://wordpress.org/plugins/really-simple-csv-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/really-simple-csv-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/really-simple-csv-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/really-simple-csv-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/really-simple-csv-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/really-simple-csv-importer/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [shippin](https://wordpress.org/support/users/shippin/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/post-type-update/#post-5128647)
 * Status: not resolved