Support » Plugin: CSV Importer » CSV importer – Custom Taxonomy problem with WordPress 3.1.2

  • Posts won’t get stored under custom taxonomy mentioned in the CSV. Although, the custom taxonomy mentioned in CSV gets created but Posts are not getting stored under the taxonomy.

    Sub Categories also get created but posts don’t get stored under them.

    To the Author of this plugin: Please fix this. It is a great plugin that you’ve built and I wholeheartedly support it.

Viewing 9 replies - 1 through 9 (of 9 total)
  • I am also watching for reply as I want to use it for 3.1.2 version

    I’d love to see this and can confirm that custom taxonomy tags work, while custom taxonomy categories are created but not populated. Getting close to having to manually check 400+ entries into the proper categories.

    Any chance of an update for this?

    Thanks!

    Plugin Contributor dvkob

    (@dvkob)

    Please post your csv files and code you’re using to create taxonomies so that I can test it.

    If these files are longer than 10 lines, please use the pastebin.

    This could be an issue of me not understanding what I’m doing fully but here is the code in my functions.php file:

    add_action('init', 'csv_importer_taxonomies', 0);
    
    function csv_importer_taxonomies() {
        register_taxonomy('wpbdm-category', 'wpbdm-directory', array(
            'hierarchical' => true,
            'label' => 'Directory Categories',
        ));
    }

    Here is a link to a sample of the csv:

    http://dl.dropbox.com/u/9780058/final-sample.csv

    Thank-you for the response.

    Same problem here.

    Categories created but not populated!

    Aa, works for me now! I’ve been struggling with this for a long time!

    Never realised you have to use a 0 for root level categories. The documentation is confusing. I thought, as others, there should be a separate csv-file for categories.

    So in linkhousemedia,s case:

    csv_ctax_wpbdm-category
    "0,Accommodation,"
    "0,Accountants,"
    "0,Accountants,"

    FYI I use WP 3.1.3, although I don’t think it is the same for WP 3.1.2.

    Plugin Contributor dvkob

    (@dvkob)

    MrVictor: Glad you were able to figure it out. I’ve said this in a previous post, but there’s not harm in repeating myself. Custom taxonomy support was added as an advanced feature and it’s syntax is obscure. I didn’t think it would be widely used. So far, all the people reporting issues with custom taxonomy support are simply struggling with the syntax. I’m planning to add an alternative way to specify custom taxonomies, but I don’t have a lot of time to work on the plugin right now.

    I still can’t get this to work for taxonomies with children, i.e.

    Clinical Applications,ICE

    Posts are assigned to ICE but not Clinical Applications.

    Any ideas?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘CSV importer – Custom Taxonomy problem with WordPress 3.1.2’ is closed to new replies.