WordPress.org

Ready to get started?Download WordPress

Forums

CSV Importer
CSV importer - Custom Taxonomy problem with WordPress 3.1.2 (10 posts)

  1. erachnid
    Member
    Posted 2 years ago #

    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.

  2. isohelpline
    Member
    Posted 2 years ago #

    I am also watching for reply as I want to use it for 3.1.2 version

  3. linkhousemedia
    Member
    Posted 2 years ago #

    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!

  4. dvkob
    Member
    Plugin Author

    Posted 2 years ago #

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

  5. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

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

  6. linkhousemedia
    Member
    Posted 2 years ago #

    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.

  7. MrVictor
    Member
    Posted 2 years ago #

    Same problem here.

    Categories created but not populated!

  8. MrVictor
    Member
    Posted 2 years ago #

    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.

  9. dvkob
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  10. itsleesimpson
    Member
    Posted 2 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic