Filters – team_grid_filter_content

Vew count: 314

You can filter team member content (Bio text) as following

add_filter('team_grid_filter_content',  'team_grid_filter_content_extra' );

function team_grid_filter_content_extra($content){

    return 'Before Text - '.$content.' After Text';
  }

Click bio content to open popup box

add_filter('team_grid_filter_content',  'team_grid_filter_content_extra' );

function team_grid_filter_content_extra($content){

    return '<div class="team-popup" teamid="'.get_the_ID().'">'.$content.'</div>';
  }