'left', 'name' => '', 'position' => '', 'twitter' => '', 'facebook' => '', 'skype' => '', 'linkedin' => '', 'instagram' => '', 'image' => '', 'img_size' => '270x170', 'style' => 'default', // circle colored 'size' => 'default', // circle colored 'form' => 'circle', 'woodmart_color_scheme' => 'dark', 'layout' => 'default', 'css_animation' => 'none', 'el_class' => '' ), $atts ) ); $classes .= ' member-layout-' . $layout; $classes .= ' color-scheme-' . $woodmart_color_scheme; $classes .= woodmart_get_css_animation( $css_animation ); $classes .= ( $el_class ) ? ' ' . $el_class : ''; $img_id = preg_replace( '/[^\d]/', '', $image ); $img = ''; if ( function_exists( 'wpb_getImageBySize' ) ) { $img = wpb_getImageBySize( array( 'attach_id' => $img_id, 'thumb_size' => $img_size, 'class' => 'team-member-avatar-image' ) ); } woodmart_enqueue_inline_style( 'social-icons' ); woodmart_enqueue_inline_style( 'team-member' ); $socials = ''; if ($linkedin != '' || $twitter != '' || $facebook != '' || $skype != '' || $instagram != '') { $socials .= '
'; } $output .= '