Team
Custom post type for team members
// Register Custom Post Type function team_post_type() { $labels = array( 'name' => _x( 'Team Members', 'Post Type General Name', 'computer-bookkeeping-solutions' ), 'singular_name' => _x( 'Team', 'Post Type Singular Name', 'computer-bookkeeping-solutions' ), 'menu_name' => __( 'Team', 'computer-bookkeeping-solutions' ), 'parent_item_colon' => __( 'Parent Team Member:', 'computer-bookkeeping-solutions' ), 'all_items' => __( 'All Team Members', 'computer-bookkeeping-solutions' ), 'view_item' => __( 'View Team Member', 'computer-bookkeeping-solutions' ), 'add_new_item' => __( 'Add Team Member', 'computer-bookkeeping-solutions' ), 'add_new' => __( 'Add New', 'computer-bookkeeping-solutions' ), 'edit_item' => __( 'Edit Team Member', 'computer-bookkeeping-solutions' ), 'update_item' => __( 'Update Team Member', 'computer-bookkeeping-solutions' ), 'search_items' => __( 'Search Team Members', 'computer-bookkeeping-solutions' ), 'not_found' => __( 'Not found', 'computer-bookkeeping-solutions' ), 'not_found_in_trash' => __( 'Not found in Trash', 'computer-bookkeeping-solutions' ), ); $args = array( 'label' => __( 'team', 'computer-bookkeeping-solutions' ), 'description' => __( 'Team Description', 'computer-bookkeeping-solutions' ), 'labels' => $labels, 'supports' => array( ), 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'show_in_nav_menus' => true, 'show_in_admin_bar' => true, 'menu_position' => 5, 'menu_icon' => 'dashicons-id-alt', 'can_export' => true, 'has_archive' => true, 'exclude_from_search' => false, 'publicly_queryable' => true, 'capability_type' => 'page', ); register_post_type( 'team', $args ); } // Hook into the 'init' action add_action( 'init', 'team_post_type', 0 );