WordPress.org

Support

Support » Plugins and Hacks » CSV Importer » [Plugin: CSV Importer] Not selecting custom taxonomies

[Plugin: CSV Importer] Not selecting custom taxonomies

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor dvkob

    @dvkob

    imsoper: Seems to work just fine for me. How did you set up your taxonomies? I put the following code in my theme’s functions.php:

    add_action('init', 'csv_importer_taxonomies', 0);
    
    function csv_importer_taxonomies() {
        register_taxonomy('country', 'post', array(
            'hierarchical' => false,
            'label' => 'Country',
        ));
        register_taxonomy('screening-block', 'post', array(
            'hierarchical' => false,
            'label' => 'Screening Block',
        ));
        register_taxonomy('finalist', 'post', array(
            'hierarchical' => false,
            'label' => 'Finalist',
        ));
    }

    It seems that this plugin only works with non-heirarchical custom taxonomies. When I turn hierarchical off on my taxonomies, it works fine, but it kind of defeats the purpose of what I was trying to do…

    Ian

    @ianaleksander

    I think I’m having a similar problem. Mine are already non-heirarchical – is there anything else here that’s wrong?
    register_taxonomy( 'dc-character', 'DC', array( 'hierarchical' => false, 'label' => 'DC Comics Character', 'query_var' => true, 'rewrite' => true ) );

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: CSV Importer] Not selecting custom taxonomies’ is closed to new replies.
Skip to toolbar