Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Billco Testimonial Market Segments

if ( ! function_exists( 'billco_testimonial_market_segments' ) ) {

// Register Custom Taxonomy
function billco_testimonial_market_segments() {

	$labels = array(
		'name'                       => _x( 'Market Segments', 'Taxonomy General Name', 'o2dca_framework' ),
		'singular_name'              => _x( 'Market Segment', 'Taxonomy Singular Name', 'o2dca_framework' ),
		'menu_name'                  => __( 'Market Segment', 'o2dca_framework' ),
		'all_items'                  => __( 'All Market Segments', 'o2dca_framework' ),
		'parent_item'                => __( 'Parent Market Segment', 'o2dca_framework' ),
		'parent_item_colon'          => __( 'Parent Market Segment:', 'o2dca_framework' ),
		'new_item_name'              => __( 'New Item Market Segment', 'o2dca_framework' ),
		'add_new_item'               => __( 'Add New Market Segment', 'o2dca_framework' ),
		'edit_item'                  => __( 'Edit Market Segment', 'o2dca_framework' ),
		'update_item'                => __( 'Update Market Segment', 'o2dca_framework' ),
		'view_item'                  => __( 'View Market Segment', 'o2dca_framework' ),
		'separate_items_with_commas' => __( 'Separate market segments with commas', 'o2dca_framework' ),
		'add_or_remove_items'        => __( 'Add or remove market segments', 'o2dca_framework' ),
		'choose_from_most_used'      => __( 'Choose from the most used', 'o2dca_framework' ),
		'popular_items'              => __( 'Popular Market Segments', 'o2dca_framework' ),
		'search_items'               => __( 'Search Market Segment', 'o2dca_framework' ),
		'not_found'                  => __( 'Not Found', 'o2dca_framework' ),
		'no_terms'                   => __( 'No market segments', 'o2dca_framework' ),
		'items_list'                 => __( 'Market Segment list', 'o2dca_framework' ),
		'items_list_navigation'      => __( 'Market Segment list navigation', 'o2dca_framework' ),
	);
	$args = array(
		'labels'                     => $labels,
		'hierarchical'               => false,
		'public'                     => true,
		'show_ui'                    => true,
		'show_admin_column'          => true,
		'show_in_nav_menus'          => false,
		'show_tagcloud'              => false,
	);
	register_taxonomy( 'testimonial-market-segment', array( 'o2dca-testimonials' ), $args );

}
add_action( 'init', 'billco_testimonial_market_segments', 0 );

}