'taxonomies' => array( 'fleet_cat' ),
      'hierarchical' => false,
      'public' => true,
      'show_ui' => true,
      'show_in_menu' => true,
      'menu_position' => 5,
      'show_in_admin_bar' => true,
      'show_in_nav_menus' => true,
      'can_export' => true,
      'has_archive' => true,
      'exclude_from_search' => false,
      'publicly_queryable' => true,
      'capability_type' => 'page',
      'rewrite' => array('slug' => 'san-pham'),
    );
    register_post_type( 'fleet', $args );
  }
  add_action( 'init', 'create_fleet', 0 );
  
  // Register Custom Taxonomy
  function create_fleet_cat() {
   
      $labels = array(
        'name'                       => _x( 'Danh mục Phương tiện', 'Taxonomy General Name', 'kanbox' ),
        'singular_name'              => _x( 'Danh mục Phương tiện', 'Taxonomy Singular Name', 'kanbox' ),
        'menu_name'                  => __( 'Danh mục Phương tiện', 'kanbox' ),
      );
      $args = array(
        'labels'                     => $labels,
        'hierarchical'               => true,
        'public'                     => true,
        'show_ui'                    => true,
        'show_admin_column'          => true,
        'show_in_nav_menus'          => true,
        'show_tagcloud'              => true,
        'rewrite' => array('slug' => 'phuong-tien'),
      );
      register_taxonomy( 'fleet_cat', array( 'fleet' ), $args );
     
    }
    add_action( 'init', 'create_fleet_cat', 0 );

    function create_accessaries() {

      $labels = array(
        'name'                  => _x( 'Phụ tùng', 'Accessaries Type General Name', 'kanbox' ),
        'singular_name'         => _x( 'Phụ tùng', 'Accessaries Type Singular Name', 'kanbox' ),
        'menu_name'             => __( 'Phụ tùng', 'kanbox' ),
        'name_admin_bar'        => __( 'Phụ tùng', 'kanbox' ),
      );
    
      $args = array(
        'label'                 => __( 'Phụ tùng', 'kanbox' ),
        'description'           => __( 'Phụ tùng type description', 'kanbox' ),
        'menu_icon'             => 'dashicons-admin-generic',
        'labels'                => $labels,
        'supports'              => array( 'title', 'editor', 'thumbnail', 'custom-fields' ),
        'taxonomies' => array( 'accessaries_cat' ),
        'hierarchical' => false,
        'public' => true,
        'show_ui' => true,
        'show_in_menu' => true,
        'menu_position' => 5,
        'show_in_admin_bar' => true,
        'show_in_nav_menus' => true,
        'can_export' => true,
        'has_archive' => true,
        'exclude_from_search' => false,
        'publicly_queryable' => true,
        'capability_type' => 'page',
        'rewrite' => array('slug' => 'phu-tung'),
      );
      register_post_type( 'accessaries', $args );
    }
    add_action( 'init', 'create_accessaries', 0 );
    
    // Register Custom Taxonomy
    function create_accessaries_cat() {
$labels = array(
          'name'                       => _x( 'Danh mục Phụ tùng', 'Taxonomy General Name', 'kanbox' ),
          'singular_name'              => _x( 'Danh mục Phụ tùng', 'Taxonomy Singular Name', 'kanbox' ),
          'menu_name'                  => __( 'Danh mục Phụ tùng', 'kanbox' ),
        );
        $args = array(
          'labels'                     => $labels,
          'hierarchical'               => true,
          'public'                     => true,
          'show_ui'                    => true,
          'show_admin_column'          => true,
          'show_in_nav_menus'          => true,
          'show_tagcloud'              => true,
          'rewrite' => array('slug' => 'danh-muc-phu-tung'),
        );
        register_taxonomy( 'accessaries_cat', array( 'accessaries' ), $args );
       
      }
      add_action( 'init', 'create_accessaries_cat', 0 );<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//xetai-miennam.vn/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://xetai-miennam.vn/post-sitemap.xml</loc>
		<lastmod>2026-09-08T06:38:24+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://xetai-miennam.vn/page-sitemap.xml</loc>
		<lastmod>2026-09-09T11:44:54+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://xetai-miennam.vn/blocks-sitemap.xml</loc>
		<lastmod>2026-09-10T06:05:12+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://xetai-miennam.vn/category-sitemap.xml</loc>
		<lastmod>2026-09-08T06:38:24+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Rank Math SEO Plugin (c) Rank Math - rankmath.com -->