Title: [Plugin: CSV Importer] Taxonomy assignment
Last modified: August 20, 2016

---

# [Plugin: CSV Importer] Taxonomy assignment

 *  Resolved [Topher](https://wordpress.org/support/users/topher1kenobe/)
 * (@topher1kenobe)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-csv-importer-taxonomy-assignment/)
 * My import is working well, pulling in custom posts and all related hierarchical
   taxonomies. It’s creating the taxonomy contents just fine, but not assigning 
   the posts to the proper taxonomy.
 * If I take off the hierarchical and make it not have children, it assigns the 
   post to the proper tax just fine. When I add in the parent child relationship
   it loads the taxonomy contents but doesn’t assign the post to any.
 * Am I doing something wrong?
 * An example taxonomy field looks like this:
    Sermons,The Land Between
 * Where Sermons is the parent, The Land Between is the child. I would expect that
   post to be in both, or at LEAST in the child.
 * [http://wordpress.org/extend/plugins/csv-importer/](http://wordpress.org/extend/plugins/csv-importer/)

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

 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-csv-importer-taxonomy-assignment/#post-2596702)
 * I had this same problem. I assume you are using a custom taxonomy, not categories.
   
   When you use categories, it seems to work better. I rewrote the function that
   adds in the taxonomies to combine the one for categories and the generic one,
   but it had the same issue (I had to use the generic taxonomy functions instead
   of the category-specific ones). It might be a bug in WordPress. What I see is
   the posts are in the taxonomy and I can list them on the post and the link sometimes
   works. But trying to look at the taxonomy in the admin panel, it says there are
   6 pages and doesn’t show any terms. Or it shows a few parent terms with 0 counts(
   even though they really do have posts, or children with posts).
 *  [Hastimal Shah](https://wordpress.org/support/users/hastishah/)
 * (@hastishah)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-csv-importer-taxonomy-assignment/#post-2596719)
 * The same problem am facing right now. Is any one got the solution to this.
    Please
   let me know as soon as possible.
 * Thanks in advance
 *  [Nate Zander](https://wordpress.org/support/users/mtnporcupine/)
 * (@mtnporcupine)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-csv-importer-taxonomy-assignment/#post-2596754)
 * I am also having this problem. My Custom Taxonomies are imported, but the posts
   do not get assigned the proper taxonomy.
 * Here is a [link to my CSV file](https://dl.dropbox.com/u/35169501/events.csv).
   Any help would be appreciated!
 *  [Nate Zander](https://wordpress.org/support/users/mtnporcupine/)
 * (@mtnporcupine)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-csv-importer-taxonomy-assignment/#post-2596755)
 * [Here is a solution](http://wordpress.org/support/topic/csv-importer-custom-taxonomy-problem-with-wordpress-312?replies=10)
   from this forum from about a year ago – a solution I never would have figured
   out, as the sample csv’s don’t include this syntax! Basically, root custom taxonomies
   need to preceded with 0,
 *     ```
       csv_ctax_wpbdm-category
       "0,Accommodation,"
       "0,Accountants,"
       "0,Accountants,"
       ```
   
 *  [JCIstevens](https://wordpress.org/support/users/jcistevens/)
 * (@jcistevens)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-csv-importer-taxonomy-assignment/#post-2596759)
 * Thanks, Porcupine… this worked for me!

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

The topic ‘[Plugin: CSV Importer] Taxonomy assignment’ is closed to new replies.

 * ![](https://ps.w.org/csv-importer/assets/icon-256x256.png?rev=3039593)
 * [CSV Importer](https://wordpress.org/plugins/csv-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/csv-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/csv-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/csv-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/csv-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/csv-importer/reviews/)

 * 5 replies
 * 5 participants
 * Last reply from: [JCIstevens](https://wordpress.org/support/users/jcistevens/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-csv-importer-taxonomy-assignment/#post-2596759)
 * Status: resolved