Streaming post tags
Streaming post tags
if ( ! function_exists( 'streaming_post_tag_taxonomy' ) ) { // Register Custom Taxonomy function streaming_post_tag_taxonomy() { $labels = array( 'name' => _x( 'Streaming post tags', 'Taxonomy General Name', 'lifestyle' ), 'singular_name' => _x( 'Streaming post tag', 'Taxonomy Singular Name', 'lifestyle' ), 'menu_name' => __( 'Streaming tags', 'lifestyle' ), 'all_items' => __( 'All Items', 'lifestyle' ), 'parent_item' => __( 'Parent Item', 'lifestyle' ), 'parent_item_colon' => __( 'Parent Item:', 'lifestyle' ), 'new_item_name' => __( 'New Item Name', 'lifestyle' ), 'add_new_item' => __( 'Add New Item', 'lifestyle' ), 'edit_item' => __( 'Edit Item', 'lifestyle' ), 'update_item' => __( 'Update Item', 'lifestyle' ), 'view_item' => __( 'View Item', 'lifestyle' ), 'separate_items_with_commas' => __( 'Separate items with commas', 'lifestyle' ), 'add_or_remove_items' => __( 'Add or remove items', 'lifestyle' ), 'choose_from_most_used' => __( 'Choose from the most used', 'lifestyle' ), 'popular_items' => __( 'Popular Items', 'lifestyle' ), 'search_items' => __( 'Search Items', 'lifestyle' ), 'not_found' => __( 'Not Found', 'lifestyle' ), 'no_terms' => __( 'No items', 'lifestyle' ), 'items_list' => __( 'Items list', 'lifestyle' ), 'items_list_navigation' => __( 'Items list navigation', 'lifestyle' ), ); $args = array( 'labels' => $labels, 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_admin_column' => true, 'show_in_nav_menus' => true, 'show_tagcloud' => true, ); register_taxonomy( 'streaming_post_tag', array( 'streaming_post' ), $args ); } add_action( 'init', 'streaming_post_tag_taxonomy', 0 ); }