__( 'Team', 'teamposttype' ), 'singular_name' => __( 'Team Member', 'teamposttype' ), 'add_new' => __( 'Add New Team Member', 'teamposttype' ), 'add_new_item' => __( 'Add New Team Member', 'teamposttype' ), 'edit_item' => __( 'Edit Team Member', 'teamposttype' ), 'new_item' => __( 'Add New Team Member', 'teamposttype' ), 'view_item' => __( 'View Team Member', 'teamposttype' ), 'search_items' => __( 'Search Team', 'teamposttype' ), 'not_found' => __( 'No team members found', 'teamposttype' ), 'not_found_in_trash' => __( 'No team members found in trash', 'teamposttype' ) ); $args = array( 'labels' => $labels, 'public' => true, 'supports' => array( 'title', 'editor', 'thumbnail', 'revisions' ), 'capability_type' => 'post', 'rewrite' => array("slug" => "team"), // Permalinks format 'menu_position' => 10, 'has_archive' => false, 'exclude_from_search' => true ); $args = apply_filters('teamposttype_args', $args); if( current_theme_supports( 'audemedia_team_cpt' ) ) { register_post_type( 'team', $args ); } flush_rewrite_rules(); } function team_icon() { ?>