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

add_action( 'init', 'client_service' );

function client_service() {
	$labels = array(
		'name'               => _x( 'Service', 'post type general name', 'asdesign' ),
		'singular_name'      => _x( 'Service', 'post type singular name', 'asdesign' ),
		'menu_name'          => _x( 'Service', 'admin menu', 'asdesign' ),
		'name_admin_bar'     => _x( 'Service', 'add new on admin bar', 'asdesign' ),
		'add_new'            => _x( 'Add New', 'Service', 'asdesign' ),
		'add_new_item'       => __( 'Add New Service', 'asdesign' ),
		'new_item'           => __( 'New Service', 'asdesign' ),
		'edit_item'          => __( 'Edit Service', 'asdesign' ),
		'view_item'          => __( 'View Service', 'asdesign' ),
		'all_items'          => __( 'All Service', 'asdesign' ),
		'search_items'       => __( 'Search Service', 'asdesign' ),
		'parent_item_colon'  => __( 'Parent Service:', 'asdesign' ),
		'not_found'          => __( 'No Service found.', 'asdesign' ),
		'not_found_in_trash' => __( 'No Service 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( 'service', $args );
}
?>