';
if($biography_sh == 1){
$content = apply_filters( 'the_content', get_the_content() );
$output .='
'.$tup_biography.'
';
$output.='
';
}
$output .='
';
foreach ($sort_social as $s_s) { // display social profiles with sorting
if($s_s =="fb"){
if($tup_fb !='' || $tup_fb !=null ){
$output .=' ';
}
}
if($s_s =="twitter"){
if($tup_twitter !='' || $tup_twitter !=null){
$output .=' ';
}
}
if($s_s =="gplus"){
if($tup_gplus !='' || $tup_gplus !=null){
$output .=' ';
}
}
if($s_s =="linkedin"){
if($tup_linkedin !='' || $tup_linkedin !=null){
$output .=' ';
}
}
if($s_s =="github"){
if($tup_github !='' || $tup_github !=null){
$output .=' ';
}
}
if($s_s =="behance"){
if($tup_behance !='' || $tup_behance !=null){
$output .=' ';
}
}
if($s_s =="dribbble"){
if($tup_dribble !='' || $tup_dribble !=null){
$output .=' ';
}
}
if($s_s =="youtube"){
if($tup_youtube !='' || $tup_youtube !=null){
$output .=' ';
}
}
}
$output .='
';
$output .='
'.get_the_title().'
';
foreach ($sort_array as $value) { // show details with sorting
if($value =="designation"){
if($designation_sh == 1){
$output .='
'.$tup_designation.'';
}
}
if($value =="mail"){
if($email_sh == 1){
$output .='
'.$tup_email.'';
}
}
if($value =="web"){
if($web_sh == 1){
$output .='
'.$tup_web.'';
}
}
if($value =="telephone"){
if($telephone_sh == 1){
$output .='
'.$tup_telephone.'';
}
}
}
$output .='