<?php
$css = '';
extract(shortcode_atts(array(
    'css' => ''
), $atts));
$css_class = apply_filters( VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, vc_shortcode_custom_css_class( $css, ' ' ) );
?>
<?php
	$current_page_id = educacion_mascot_get_page_id();
?>

<?php if ( !_empty( educacion_mascot_get_rwmb_group( 'educacion_mascot_' . "staff_mb_contact_info", 'staff_appointment_btn_url', $current_page_id ) ) ) { ?>
<div class="widget widget-staff staff-appointment-url <?php echo esc_attr( $css_class ); ?>">
	<a href="<?php echo esc_url( educacion_mascot_get_rwmb_group( 'educacion_mascot_' . "staff_mb_contact_info", 'staff_appointment_btn_url', $current_page_id ) ) ?>" target="_blank" class="<?php echo esc_attr( apply_filters( 'educacion_mascot_tmvc_staff_appointment_url_btn', 'btn btn-theme-colored1 mt-15') ); ?>">
	<?php echo esc_html( educacion_mascot_get_rwmb_group( 'educacion_mascot_' . "staff_mb_contact_info", 'staff_appointment_btn_text', $current_page_id ) ) ?></i>
	</a>
</div>
<?php } ?>