Media Cat
// Register Custom Taxonomy
function media_category() {
$labels = array(
'name' => _x( 'Media Categories', 'Taxonomy General Name', 'srchc' ),
'singular_name' => _x( 'Media Category', 'Taxonomy Singular Name', 'srchc' ),
'menu_name' => __( 'Media Category', 'srchc' ),
'all_items' => __( 'All Media Categories', 'srchc' ),
'parent_item' => __( 'Parent Media Category', 'srchc' ),
'parent_item_colon' => __( 'Parent Media Category:', 'srchc' ),
'new_item_name' => __( 'New Media Category Name', 'srchc' ),
'add_new_item' => __( 'Add New Media Category', 'srchc' ),
'edit_item' => __( 'Edit Media Category', 'srchc' ),
'update_item' => __( 'Update Media Category', 'srchc' ),
'view_item' => __( 'View Media Category', 'srchc' ),
'separate_items_with_commas' => __( 'Separate Media Categories with commas', 'srchc' ),
'add_or_remove_items' => __( 'Add or remove Media Categories', 'srchc' ),
'choose_from_most_used' => __( 'Choose from the most used', 'srchc' ),
'popular_items' => __( 'Popular Media Categories', 'srchc' ),
'search_items' => __( 'Search Media Categories', 'srchc' ),
'not_found' => __( 'Not Found', 'srchc' ),
'no_terms' => __( 'No Media Categories', 'srchc' ),
'items_list' => __( 'Media Category list', 'srchc' ),
'items_list_navigation' => __( 'Media Category list navigation', 'srchc' ),
);
$args = array(
'labels' => $labels,
'hierarchical' => true,
'public' => false,
'show_ui' => true,
'show_admin_column' => true,
'show_in_nav_menus' => true,
'show_tagcloud' => false,
);
register_taxonomy( 'media_cat', array( 'media' ), $args );
}
add_action( 'init', 'media_category', 0 );