Filters – team_grid_filter_thumbnail

You can filter team member thumbnail on grid by filter hook as following.

add_filter('team_grid_filter_thumbnail',  'team_grid_filter_thumbnail_extra' );

function team_grid_filter_thumbnail_extra($thumbnail){
    
    
    $new_thumbnail = get_post_meta(get_the_ID(),'new_thumbnail', true);
    
        return $thumbnail.' <br/> '.$new_thumbnail;
    }

Display other information under thumbnail

add_filter('team_grid_filter_thumbnail',  'team_grid_filter_thumbnail_extra' );

function team_grid_filter_thumbnail_extra($thumbnail){
    
  $team_member_post = get_post(get_the_ID());
  $post_title	 = $team_member_post->post_title;
    

    $team_member_position = get_post_meta(get_the_ID(),'team_member_position', true);

    
        return $thumbnail.'<div class="member-name">'.$post_title.'</div><div class="postion">'.$team_member_position.'</div>';
    
    }