Takuro Hishikawa
Forum Replies Created
-
Forum: Plugins
In reply to: [Really Simple CSV Importer] updating a post_id custom post typeIf you want to update existing custom type post, please include post_type column in csv file. The importer checks both of csv post data and existing post data has same post type value. Because changing the type of existing post occurs unexpected error in some cases. Hope this will help you!
Forum: Plugins
In reply to: [Really Simple CSV Importer] {tax_$taxonomy} / {custom_field}To import custom field value, you can simply use custom field key name. But, importing custom taxonomy is bit complicated.
“tax_$taxonomy” means, “tax_” is prefix, and $taxonomy is name of custom taxonomy (not label).Here is a example.
csv file
“post_title”,”released”,”tax_actors”
“Captain Phillips”,”2013″,”Tom Hanks, Barkhad Abdi, Barkhad Abdirahman”imported post data
Post Title: Captain Phillips
Custom field key “released”: 2013
Custom taxonomy “Actors”: Tom Hanks, Barkhad Abdi, Barkhad AbdirahmanAnother example files are included in sample directory. Hope this will help you.
Forum: Plugins
In reply to: [Really Simple CSV Importer] update postYes, there is. If you specify the post_id value, Importer will try to update it.
CSV example:
https://github.com/hissy/rs-csv-importer/blob/master/sample/sample.csvForum: Reviews
In reply to: [Really Simple CSV Importer] Simple Perfection.I got the point. wp_insert_post function has the argument insert_id, so maybe I can do that. I’d like to try.
Forum: Reviews
In reply to: [Really Simple CSV Importer] Simple Perfection.Thanks jcow, I added issue about your suggestion.
https://github.com/hissy/rs-csv-importer/issues/6