* @link https://www.elicus.com/
* @copyright 2023 Elicus Technologies Private Limited
* @version 1.9.9
*/
$social_icons = '';
if ( 'on' === $show_social_icon ) {
if (
'' !== $website_url ||
'' !== $facebook_url ||
'' !== $twitter_url ||
'' !== $linkedin_url ||
'' !== $instagram_url ||
'' !== $youtube_url ||
'' !== $email ||
'' !== $phone_number
) {
$social_icons = sprintf(
'
%1$s%2$s%3$s%4$s%5$s%6$s%7$s%8$s
',
$website_url,
$facebook_url,
$twitter_url,
$linkedin_url,
$instagram_url,
$youtube_url,
$email,
$phone_number
);
}
}
if ( $social_icons ) {
$visible_content = sprintf(
'%1$s
',
$social_icons
);
}
if ( $short_description ) {
$hidden_content = sprintf(
'%1$s
',
$short_description
);
}
if ( $social_icons || $short_description ) {
$overlay_wrapper = sprintf(
'%1$s %2$s
',
$social_icons ? $visible_content : '',
$short_description ? $hidden_content : ''
);
}
$output .= sprintf(
'',
et_core_esc_previously( $member_image ),
esc_attr( $post_id ),
et_core_esc_previously( $member_name ),
et_core_esc_previously( $designation ),
et_core_esc_previously( $readmore_button ),
$social_icons || $short_description ? $overlay_wrapper : '',
implode( ' ', $wrapper_class ),
( $data_attrs && is_array( $data_attrs ) ) ? implode( ' ', $data_attrs ) : '',
isset( $team_content_padding_top_desktop ) ? floatval( $team_content_padding_top_desktop ) : '',
isset( $team_content_padding_top_tablet ) ? floatval( $team_content_padding_top_tablet ) : '',
isset( $team_content_padding_top_phone ) ? floatval( $team_content_padding_top_phone ) : '',
isset( $team_content_padding_bottom_desktop ) ? floatval( $team_content_padding_bottom_desktop ) : '',
isset( $team_content_padding_bottom_tablet ) ? floatval( $team_content_padding_bottom_tablet ) : '',
isset( $team_content_padding_bottom_phone ) ? floatval( $team_content_padding_bottom_phone ) : ''
);