';
$html .= Fns::memberDetailGallery( $post->ID );
$html .= "
";
$html .= Fns::get_formatted_contact_info(
[
'email' => $email,
'telephone' => $telephone,
'mobile' => $mobile,
'fax' => $fax,
'location' => $location,
'web_url' => $web_url,
],
$fields
);
if ( in_array( 'author_post', $fields ) ) {
$html .= Fns::memberDetailPosts( $post->ID );
}
$html .= '
';
$html .= '
";
$html .= "';
$html .= Fns::get_formatted_short_bio( $short_bio, $fields );
if ( $post->post_content && in_array( 'content', $fields ) ) {
$html .= "
" . apply_filters(
'the_content',
get_the_content()
) . '
';
}
if ( $qualifications && in_array( 'ttp_qualifications', $fields ) ) {
$html .= '';
}
if ( $professional_memberships && in_array( 'ttp_professional_memberships', $fields ) ) {
$html .= '';
}
if ( $area_of_expertise && in_array( 'ttp_area_of_expertise', $fields ) ) {
$html .= '';
}
$html .= Fns::get_formatted_skill( $tlp_skill, $fields );
$html .= Fns::get_formatted_social_link( $sLink, $fields );
$resume = $resume_url && in_array( 'resume_btn', $fields );
$hire_me = $hire_me_url && in_array( 'hire_me_btn', $fields );
if( ( $resume && $resume_btn_text ) || ( $hire_me && $hire_btn_text ) ) {
$html .= '
';
$html .= '
';
$html .= '
';
}
$html .= '