<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

add_action( 'init', 'client_team' );

function client_team() {
	$labels = array(
		'name'               => _x( 'Team', 'post type general name', 'asdesign' ),
		'singular_name'      => _x( 'Team', 'post type singular name', 'asdesign' ),
		'menu_name'          => _x( 'Team', 'admin menu', 'asdesign' ),
		'name_admin_bar'     => _x( 'Team', 'add new on admin bar', 'asdesign' ),
		'add_new'            => _x( 'Add New', 'Team', 'asdesign' ),
		'add_new_item'       => __( 'Add New Team', 'asdesign' ),
		'new_item'           => __( 'New Team', 'asdesign' ),
		'edit_item'          => __( 'Edit Team', 'asdesign' ),
		'view_item'          => __( 'View Team', 'asdesign' ),
		'all_items'          => __( 'All Team', 'asdesign' ),
		'search_items'       => __( 'Search Team', 'asdesign' ),
		'parent_item_colon'  => __( 'Parent Team:', 'asdesign' ),
		'not_found'          => __( 'No Team found.', 'asdesign' ),
		'not_found_in_trash' => __( 'No Team found in Trash.', 'asdesign' )
	);
	$args = array(
		'labels'             => $labels,
        'description'        => __( '', 'asdesign' ),
		'public'             => true,
		'publicly_queryable' => true,
		'show_ui'            => true,
		'show_in_menu'       => true,
		'query_var'          => true,
		'rewrite'            => array( 'slug' => false ),
		'capability_type'    => 'post',
		'has_archive'        => true,
		'hierarchical'       => true,
		'menu_position'      => null,
		'supports'           => array( 'title', 'editor', 'thumbnail', 'excerpt' )
	);
	register_post_type( 'team', $args );
}
?>