thaifighter ranking men
// Register Custom Post Type
function custom_post_type() {
$labels = array(
'name' => _x( 'Athletes', 'Post Type General Name', 'thaifighter' ),
'singular_name' => _x( 'Athlete', 'Post Type Singular Name', 'thaifighter' ),
'menu_name' => __( 'Ranking - Men', 'thaifighter' ),
'name_admin_bar' => __( 'Ranking - Men', 'thaifighter' ),
'archives' => __( 'Atheletes Archives', 'thaifighter' ),
'parent_item_colon' => __( 'Parent Item:', 'thaifighter' ),
'all_items' => __( 'All Atheletes', 'thaifighter' ),
'add_new_item' => __( 'Add New Athelete', 'thaifighter' ),
'add_new' => __( 'Add New', 'thaifighter' ),
'new_item' => __( 'New Athelete', 'thaifighter' ),
'edit_item' => __( 'Edit Athelete', 'thaifighter' ),
'update_item' => __( 'Update Athelete', 'thaifighter' ),
'view_item' => __( 'View Athelete', 'thaifighter' ),
'search_items' => __( 'Search Atheletes', 'thaifighter' ),
'not_found' => __( 'Not found', 'thaifighter' ),
'not_found_in_trash' => __( 'Not found in Trash', 'thaifighter' ),
'featured_image' => __( 'Featured Image', 'thaifighter' ),
'set_featured_image' => __( 'Set featured image', 'thaifighter' ),
'remove_featured_image' => __( 'Remove featured image', 'thaifighter' ),
'use_featured_image' => __( 'Use as featured image', 'thaifighter' ),
'insert_into_item' => __( 'Insert into Athelete', 'thaifighter' ),
'uploaded_to_this_item' => __( 'Uploaded to this item', 'thaifighter' ),
'items_list' => __( 'Atheletes list', 'thaifighter' ),
'items_list_navigation' => __( 'Atheletes list navigation', 'thaifighter' ),
'filter_items_list' => __( 'Filter Atheletes list', 'thaifighter' ),
);
$args = array(
'label' => __( 'Athlete', 'thaifighter' ),
'description' => __( 'Athelete Ranking - Men', 'thaifighter' ),
'labels' => $labels,
'supports' => array( 'title', ),
'taxonomies' => array( 'category' ),
'hierarchical' => false,
'public' => true,
'show_ui' => true,
'show_in_menu' => true,
'menu_position' => 5,
'menu_icon' => 'dashicons-awards',
'show_in_admin_bar' => false,
'show_in_nav_menus' => false,
'can_export' => true,
'has_archive' => false,
'exclude_from_search' => true,
'publicly_queryable' => true,
'rewrite' => false,
'capability_type' => 'page',
);
register_post_type( 'atheletes_men', $args );
}
add_action( 'init', 'custom_post_type', 0 );