';
$output .='

';
if( $biography_sh == 1 ){
$output .='';
# Start Popup
$content = apply_filters( 'the_content', get_the_content() );
$output.='
';
# End Popup
}
$output .='
'.get_the_title().'
';
foreach ( $sort_array as $value ){
if( $value =="designation" ){
if( $designation_sh == 1 ){
$output .='
'.esc_attr($atmswc_designation).'';
}
}
if( $value =="mail" ){
if( $email_sh == 1 ){
$output .='
'.$atmswc_email.'';
}
}
if( $value =="web" ){
if( $web_sh == 1 ){
$output .='
'.$atmswc_web.'';
}
}
if( $value =="telephone" ){
if( $telephone_sh == 1 ){
$output .='
'.esc_attr($atmswc_telephone).'';
}
}
}
$output .='
';
$output .='
';
foreach ( $sort_social as $s_s ) { // display social profiles with sorting
if( $s_s =="fb" ){
if( $atmswc_fb !='' || $atmswc_fb !=null ){
$output .=' ';
}
}
if( $s_s =="twitter" ){
if( $atmswc_twitter !='' || $atmswc_twitter !=null ){
$output .=' ';
}
}
if( $s_s =="gplus" ){
if( $atmswc_gplus !='' || $atmswc_gplus !=null ){
$output .=' ';
}
}
if( $s_s =="linkedin" ){
if( $atmswc_linkedin !='' || $atmswc_linkedin !=null ){
$output .=' ';
}
}
if( $s_s =="github" ){
if( $atmswc_github !='' || $atmswc_github !=null ){
$output .=' ';
}
}
if( $s_s =="behance" ){
if( $atmswc_behance !='' || $atmswc_behance !=null ){
$output .=' ';
}
}
if( $s_s =="dribbble" ){
if( $atmswc_dribble !='' || $atmswc_dribble !=null ){
$output .=' ';
}
}
if( $s_s =="youtube" ){
if( $atmswc_youtube !='' || $atmswc_youtube !=null ){
$output .=' ';
}
}
}
$output .='
';
$output .='
';
$output .='