Team member page full width/broken

Vew count: 471

If you see the single team member page is full width or broken you probably missed the wrapper content class. you need to find the main class of your theme and use this on following code. simply replace the container class and place the code on your theme functions.php file.

add_action('team_action_before_single_team_member', 'team_action_before_single_team_member', 10);

function team_action_before_single_team_member() {
  echo '<div class="container">';

function team_action_after_single_team_member() {
  echo '</div>';

add_action('team_action_after_single_team_member', 'team_action_after_single_team_member', 10);