<?php

namespace XIMSAPLUGIN\Inc;


use XIMSAPLUGIN\Inc\Abstracts\Taxonomy;


class Taxonomies extends Taxonomy {


	public static function init() {

		$labels = array(
			'name'              => _x( 'Project Category', 'wpximsa' ),
			'singular_name'     => _x( 'Project Category', 'wpximsa' ),
			'search_items'      => __( 'Search Category', 'wpximsa' ),
			'all_items'         => __( 'All Categories', 'wpximsa' ),
			'parent_item'       => __( 'Parent Category', 'wpximsa' ),
			'parent_item_colon' => __( 'Parent Category:', 'wpximsa' ),
			'edit_item'         => __( 'Edit Category', 'wpximsa' ),
			'update_item'       => __( 'Update Category', 'wpximsa' ),
			'add_new_item'      => __( 'Add New Category', 'wpximsa' ),
			'new_item_name'     => __( 'New Category Name', 'wpximsa' ),
			'menu_name'         => __( 'Project Category', 'wpximsa' ),
		);
		$args   = array(
			'hierarchical'       => true,
			'labels'             => $labels,
			'show_ui'            => true,
			'show_admin_column'  => true,
			'query_var'          => true,
			'public'             => true,
			'publicly_queryable' => true,
			'rewrite'            => array( 'slug' => 'project_cat' ),
		);

		register_taxonomy( 'project_cat', 'project', $args );
		
		//Services Taxonomy Start
		$labels = array(
			'name'              => _x( 'Service Category', 'wpximsa' ),
			'singular_name'     => _x( 'Service Category', 'wpximsa' ),
			'search_items'      => __( 'Search Category', 'wpximsa' ),
			'all_items'         => __( 'All Categories', 'wpximsa' ),
			'parent_item'       => __( 'Parent Category', 'wpximsa' ),
			'parent_item_colon' => __( 'Parent Category:', 'wpximsa' ),
			'edit_item'         => __( 'Edit Category', 'wpximsa' ),
			'update_item'       => __( 'Update Category', 'wpximsa' ),
			'add_new_item'      => __( 'Add New Category', 'wpximsa' ),
			'new_item_name'     => __( 'New Category Name', 'wpximsa' ),
			'menu_name'         => __( 'Service Category', 'wpximsa' ),
		);
		$args   = array(
			'hierarchical'       => true,
			'labels'             => $labels,
			'show_ui'            => true,
			'show_admin_column'  => true,
			'query_var'          => true,
			'public'             => true,
			'publicly_queryable' => true,
			'rewrite'            => array( 'slug' => 'service_cat' ),
		);


		register_taxonomy( 'service_cat', 'service', $args );
		
		//Testimonials Taxonomy Start
		$labels = array(
			'name'              => _x( 'Testimonials Category', 'wpximsa' ),
			'singular_name'     => _x( 'Testimonials Category', 'wpximsa' ),
			'search_items'      => __( 'Search Category', 'wpximsa' ),
			'all_items'         => __( 'All Categories', 'wpximsa' ),
			'parent_item'       => __( 'Parent Category', 'wpximsa' ),
			'parent_item_colon' => __( 'Parent Category:', 'wpximsa' ),
			'edit_item'         => __( 'Edit Category', 'wpximsa' ),
			'update_item'       => __( 'Update Category', 'wpximsa' ),
			'add_new_item'      => __( 'Add New Category', 'wpximsa' ),
			'new_item_name'     => __( 'New Category Name', 'wpximsa' ),
			'menu_name'         => __( 'Testimonials Category', 'wpximsa' ),
		);
		$args   = array(
			'hierarchical'       => true,
			'labels'             => $labels,
			'show_ui'            => true,
			'show_admin_column'  => true,
			'query_var'          => true,
			'public'             => true,
			'publicly_queryable' => true,
			'rewrite'            => array( 'slug' => 'testimonials_cat' ),
		);


		register_taxonomy( 'testimonials_cat', 'testimonials', $args );
		
		
		//Team Taxonomy Start
		$labels = array(
			'name'              => _x( 'Team Category', 'wpximsa' ),
			'singular_name'     => _x( 'Team Category', 'wpximsa' ),
			'search_items'      => __( 'Search Category', 'wpximsa' ),
			'all_items'         => __( 'All Categories', 'wpximsa' ),
			'parent_item'       => __( 'Parent Category', 'wpximsa' ),
			'parent_item_colon' => __( 'Parent Category:', 'wpximsa' ),
			'edit_item'         => __( 'Edit Category', 'wpximsa' ),
			'update_item'       => __( 'Update Category', 'wpximsa' ),
			'add_new_item'      => __( 'Add New Category', 'wpximsa' ),
			'new_item_name'     => __( 'New Category Name', 'wpximsa' ),
			'menu_name'         => __( 'Team Category', 'wpximsa' ),
		);
		$args   = array(
			'hierarchical'       => true,
			'labels'             => $labels,
			'show_ui'            => true,
			'show_admin_column'  => true,
			'query_var'          => true,
			'public'             => true,
			'publicly_queryable' => true,
			'rewrite'            => array( 'slug' => 'team_cat' ),
		);


		register_taxonomy( 'team_cat', 'team', $args );
		
		//Faqs Taxonomy Start
		$labels = array(
			'name'              => _x( 'Faqs Category', 'wpximsa' ),
			'singular_name'     => _x( 'Faqs Category', 'wpximsa' ),
			'search_items'      => __( 'Search Category', 'wpximsa' ),
			'all_items'         => __( 'All Categories', 'wpximsa' ),
			'parent_item'       => __( 'Parent Category', 'wpximsa' ),
			'parent_item_colon' => __( 'Parent Category:', 'wpximsa' ),
			'edit_item'         => __( 'Edit Category', 'wpximsa' ),
			'update_item'       => __( 'Update Category', 'wpximsa' ),
			'add_new_item'      => __( 'Add New Category', 'wpximsa' ),
			'new_item_name'     => __( 'New Category Name', 'wpximsa' ),
			'menu_name'         => __( 'Faqs Category', 'wpximsa' ),
		);
		$args   = array(
			'hierarchical'       => true,
			'labels'             => $labels,
			'show_ui'            => true,
			'show_admin_column'  => true,
			'query_var'          => true,
			'public'             => true,
			'publicly_queryable' => true,
			'rewrite'            => array( 'slug' => 'faqs_cat' ),
		);


		register_taxonomy( 'faqs_cat', 'faqs', $args );
		
		
	}
	
}
