Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Dvkob-

    Thanks for the response. I am having a few issues. I have got the items to upload into the correct taxonomy, however the items show up strangely in the admin area, it repeats the description (I have included a link to a screenshot of this below). Second, I would prefer to use category ids rather than names, but when I replace the name with the category id it doesn’t work.

    This is the code that I am using in my functions.php to register my custom post type and taxonomies:

    //Add Product Custom Post type
    	add_action('init', 'product_register');
    
    	function product_register() {
        	$args = array(
            	'labels' => array(
    				'name' => 'Product',
    				'singular_name' => 'Product',
    				'add_new' => 'Add New',
    				'add_new_item' => 'Add New Product',
    				'edit_item' => 'Edit Product',
    				'edit' => 'Edit',
    				'new_item' => 'New Product',
    				'view_item' => 'View Product',
    				'search_items' => 'Search Catalog',
    				'not_found' => 'No products found',
    				'not_found_in_trash' => 'No products found in Trash',
    				'view' => 'View Products'
    				),
    			'public' => true,
    			'query_var' => true,
            	'show_ui' => true,
            	'capability_type' => 'post',
            	'hierarchical' => false,
            	'rewrite' => false,
            	'supports' => array('title', 'editor', 'thumbnail')
            );
    
        	register_post_type('product' , $args);
    
    	}
    
    	//Catalog Taxonomy
    	register_taxonomy('catalog', array('product'), array(
    		'hierarchical' => true,
    		'label' => 'Catalog',
    		'singular_label' => 'Catalog',
    		'rewrite' => true
    		)
    	);

    Here is a link to the csv file I am trying to upload:
    https://www.box.net/shared/bljjbis8ab

    And a screenshot of what it looks like in the admin area:
    https://www.box.net/shared/44ixa6ege2

    If I am being unclear let me know.

    Thanks again.

    I am also having issues importing hierarchical taxonomies. I have used the same format as the example in the plugin folder and I am still having issues. Does anyone know how to do this? Is it even possible with this plugin?

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