Customers
Customer List
if ( ! function_exists('create_cutomers') ) { // Register Custom Post Type function create_cutomers() { $labels = array( 'name' => _x( 'Customers', 'Post Type General Name', 'lyreco' ), 'singular_name' => _x( 'Customer', 'Post Type Singular Name', 'lyreco' ), 'menu_name' => __( 'Customers', 'lyreco' ), 'name_admin_bar' => __( 'Customers', 'lyreco' ), 'archives' => __( 'Customer Archives', 'lyreco' ), 'attributes' => __( 'Customer Attributes', 'lyreco' ), 'parent_item_colon' => __( 'Parent Customer:', 'lyreco' ), 'all_items' => __( 'All Customers', 'lyreco' ), 'add_new_item' => __( 'Add New Customer', 'lyreco' ), 'add_new' => __( 'Add New', 'lyreco' ), 'new_item' => __( 'New Customer', 'lyreco' ), 'edit_item' => __( 'Edit Customer', 'lyreco' ), 'update_item' => __( 'Update Customer', 'lyreco' ), 'view_item' => __( 'View Customer', 'lyreco' ), 'view_items' => __( 'View Customers', 'lyreco' ), 'search_items' => __( 'Search Customer', 'lyreco' ), 'not_found' => __( 'Not found', 'lyreco' ), 'not_found_in_trash' => __( 'Not found in Trash', 'lyreco' ), 'featured_image' => __( 'Featured Image', 'lyreco' ), 'set_featured_image' => __( 'Set featured image', 'lyreco' ), 'remove_featured_image' => __( 'Remove featured image', 'lyreco' ), 'use_featured_image' => __( 'Use as featured image', 'lyreco' ), 'insert_into_item' => __( 'Insert into Customer', 'lyreco' ), 'uploaded_to_this_item' => __( 'Uploaded to this Customer', 'lyreco' ), 'items_list' => __( 'Customers Customer', 'lyreco' ), 'items_list_navigation' => __( 'Customers list navigation', 'lyreco' ), 'filter_items_list' => __( 'Filter Customers list', 'lyreco' ), ); $args = array( 'label' => __( 'Customer', 'lyreco' ), 'description' => __( 'Customers List', 'lyreco' ), 'labels' => $labels, 'supports' => array( 'title', 'editor', 'thumbnail', 'page-attributes' ), 'taxonomies' => array( 'category', 'post_tag' ), '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', ); register_post_type( 'customers', $args ); } add_action( 'init', 'create_cutomers', 0 ); }