Add additional field to custom post_type

In your code, you are using:

add_filter( 'team_Meta_Box', 'team_sample_metaboxes' );

On the site you linked to, they are using:

add_filter( 'cmb_meta_boxes', 'wpb_sample_metaboxes' );

So my question is: did you change all instances of “cmb” to “team” in the init.php file?

If you did, then the correct filter to use should be:

add_filter( 'team_meta_boxes', 'team_sample_metaboxes' );

Edit: If you did NOT change init.php file at all (and I don’t really see why you would change it), then you shouldn’t be changing “cmb” to “team” in your code in the following instances:

1)

add_filter( 'cmb_meta_boxes', 'team_sample_metaboxes' );

2)

if ( ! class_exists( 'cmb_Meta_Box' ) )