HPCwire Solutions Channel taxonomy
if ( ! function_exists( 'solutions_channels_taxonomy' ) ) {
// Register Custom Taxonomy
function solutions_channels_taxonomy() {
$labels = array(
'name' => 'Solutions Channels',
'singular_name' => 'Solutions Channel',
'menu_name' => 'Solutions Channels',
'all_items' => 'All Solutions Channels',
'parent_item' => 'Parent Solutions Channel',
'parent_item_colon' => 'Parent Solutions Channel:',
'new_item_name' => 'New Solutions Channel',
'add_new_item' => 'Add New Solutions Channel',
'edit_item' => 'Edit Solutions Channel',
'update_item' => 'Update Solutions Channel',
'view_item' => 'View Solutions Channel',
'separate_items_with_commas' => 'Separate Solutions Channels with commas',
'add_or_remove_items' => 'Add or remove Solutions Channels',
'choose_from_most_used' => 'Choose from the most used',
'popular_items' => 'Popular Solutions Channels',
'search_items' => 'Search Solutions Channels',
'not_found' => 'Not Found',
'no_terms' => 'No Solutions Channels',
'items_list' => 'Solutions Channels list',
'items_list_navigation' => 'Solutions Channels list navigation',
);
$args = array(
'labels' => $labels,
'hierarchical' => true,
'public' => true,
'show_ui' => true,
'show_admin_column' => true,
'show_in_nav_menus' => false,
'show_tagcloud' => true,
);
register_taxonomy( 'solutions_channel', array( 'solutions_channel_content' ), $args );
}
add_action( 'init', 'solutions_channels_taxonomy', 0 );
}