Acupera
post type for Team
// Register Custom Post Type function add_profile_post_type() { $labels = array( 'name' => _x( 'Profiles', 'Post Type General Name', 'text_domain' ), 'singular_name' => _x( 'Profile', 'Post Type Singular Name', 'text_domain' ), 'menu_name' => __( 'Profiles', 'text_domain' ), 'name_admin_bar' => __( 'Profiles', 'text_domain' ), 'parent_item_colon' => __( 'Parent Item:', 'text_domain' ), 'all_items' => __( 'All Profiles', 'text_domain' ), 'add_new_item' => __( 'Add New Profile', 'text_domain' ), 'add_new' => __( 'Add New', 'text_domain' ), 'new_item' => __( 'New Profile', 'text_domain' ), 'edit_item' => __( 'Edit Profile', 'text_domain' ), 'update_item' => __( 'Update Profile', 'text_domain' ), 'view_item' => __( 'View Profile', 'text_domain' ), 'search_items' => __( 'Search Profiles', 'text_domain' ), 'not_found' => __( 'Not found', 'text_domain' ), 'not_found_in_trash' => __( 'Not found in Trash', 'text_domain' ), ); $rewrite = array( 'slug' => 'our-team', 'with_front' => true, 'pages' => false, 'feeds' => false, ); $args = array( 'label' => __( 'profile', 'text_domain' ), 'description' => __( 'Brief backgrounds on our team', 'text_domain' ), 'labels' => $labels, 'supports' => array( 'title', 'editor', 'thumbnail', 'custom-fields', ), 'taxonomies' => array( 'category', 'post_tag' ), 'hierarchical' => false, 'public' => false, 'show_ui' => true, 'show_in_menu' => true, 'menu_position' => 25, 'menu_icon' => 'dashicons-businessman', 'show_in_admin_bar' => false, 'show_in_nav_menus' => false, 'can_export' => true, 'has_archive' => true, 'exclude_from_search' => true, 'publicly_queryable' => true, 'rewrite' => $rewrite, 'capability_type' => 'page', ); register_post_type( 'profile', $args ); } // Hook into the 'init' action add_action( 'init', 'add_profile_post_type', 0 );