custom taxonomy

Create a custom taxonomy like "categories." For more information: http:codex.wordpress.orgFunction_Referenceregister_taxonomy

 true,
	'labels' => array(
		'name' => _x( 'Genres', 'taxonomy general name' ),
		'singular_name' => _x( 'Genre', 'taxonomy singular name' ),
		'search_items' =>  __( 'Search Genres' ),
		'all_items' => __( 'All Genres' ),
		'parent_item' => __( 'Parent Genre' ),
		'parent_item_colon' => __( 'Parent Genre:' ),
		'edit_item' => __( 'Edit Genre' ),
		'update_item' => __( 'Update Genre' ),
		'add_new_item' => __( 'Add Genre' ),
		'new_item_name' => __( 'New Genre' ),
		'menu_name' => __( 'Genres' ),
	),
	'rewrite' => array(
	'slug' => 'genres',
	'with_front' => false,
	'hierarchical' => true,
	'sort' => true,
	),
));
}

add_action( 'init', 'add_custom_taxonomies', 0 );

?>