Tools
// Register Custom Taxonomy
function elitron_tools() {
$labels = array(
'name' => _x( 'Tools', 'Taxonomy General Name', 'elitron' ),
'singular_name' => _x( 'Tool', 'Taxonomy Singular Name', 'elitron' ),
'menu_name' => __( 'Tools', 'elitron' ),
'all_items' => __( 'All Tools', 'elitron' ),
'parent_item' => __( 'Parent Tool', 'elitron' ),
'parent_item_colon' => __( 'Parent Tool:', 'elitron' ),
'new_item_name' => __( 'New Tool Name', 'elitron' ),
'add_new_item' => __( 'Add New Tool', 'elitron' ),
'edit_item' => __( 'Edit Tool', 'elitron' ),
'update_item' => __( 'Update Tool', 'elitron' ),
'separate_items_with_commas' => __( 'Separate tools with commas', 'elitron' ),
'search_items' => __( 'Search Tools', 'elitron' ),
'add_or_remove_items' => __( 'Add or remove tools', 'elitron' ),
'choose_from_most_used' => __( 'Choose from the most used tools', 'elitron' ),
'not_found' => __( 'Not Found', 'elitron' ),
);
$args = array(
'labels' => $labels,
'hierarchical' => false,
'public' => true,
'show_ui' => true,
'show_admin_column' => true,
'show_in_nav_menus' => true,
'show_tagcloud' => true,
'rewrite' => false,
);
register_taxonomy( 'tool', array( 'cam' ), $args );
}
// Hook into the 'init' action
add_action( 'init', 'elitron_tools', 0 );