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