@niharikabalachandra,
Please follow the given steps below.
1. Create a Child Theme and activate it. Note : Or, use WP Child Theme Generator plugin to create a new child theme easily without any coding.
2. Copy and paste the following code in your child theme’s functions.php .
function biography_after_text_slider() {
global $biography_customizer_all_values;
$biography_header_contact_url = $biography_customizer_all_values['biography-header-contact-url'];
$biography_header_contact_url_button_text = $biography_customizer_all_values['biography-header-contact-url-button-text'];
$biography_header_resume_url = $biography_customizer_all_values['biography-header-resume-url'];
$biography_header_resume_url_button_text = $biography_customizer_all_values['biography-header-resume-url-button-text'];
if( empty( $biography_header_contact_url) && empty ( $biography_header_resume_url ) ){
return;
}
?>
<div class="goest-btn">
<?php
if( !empty( $biography_header_contact_url) ){
?>
<a class="button button-feature button-contact" target="_blank" href="<?php echo esc_url( $biography_header_contact_url ); ?>">
<?php echo esc_html($biography_header_contact_url_button_text);?>
</a>
<?php
}
if( !empty( $biography_header_resume_url) ){
?>
<a class="button button-feature button-resume line-btn" target="_blank" href="<?php echo esc_url( $biography_header_resume_url ); ?>">
<?php echo esc_html($biography_header_resume_url_button_text);?>
</a>
<?php
}
?>
</div>
<?php
}
3. Finally, Download button will open in new tab.
Let us know if you have any problem.