';
if ( '' != $ult_info_banner_settings['overlay_color'] ) {
$output .= '
';
}
if ( isset( $banner_src ) && '' != $banner_src ) {
$output .= '
';
}
$output .= '
';
if ( '' != $ult_info_banner_settings['banner_title'] ) {
$output .= '<' . $ult_info_banner_settings['heading_tag'] . ' class="ultb3-title ult-responsive" ' . $info_banner_data_list . ' style="' . esc_attr( $uavc_title_style_inline ) . '">' . $ult_info_banner_settings['banner_title'] . '' . $ult_info_banner_settings['heading_tag'] . '>';
}
if ( '' != $ult_info_banner_settings['banner_desc'] ) {
$output .= '
' . $ult_info_banner_settings['banner_desc'] . '
';
}
if ( '' != $ult_info_banner_settings['button_text'] ) {
if ( '' != $target ) {
$target = 'target="' . esc_attr( $target ) . '"';
}
$output .= '
' . $ult_info_banner_settings['button_text'] . '';
}
$output .= '
';
$output .= '
';
$global_button_style = '';
$global_button_hover_style = '';
$is_css = false;
if ( '' != $ult_info_banner_settings['button_color'] ) {
$global_button_style .= 'border:' . $ult_info_banner_settings['button_border_width'] . 'px solid ' . $ult_info_banner_settings['button_color'] . ';';
$global_button_hover_style .= 'background:' . $ult_info_banner_settings['button_color'] . ';';
$is_css = true;
}
if ( '' != $ult_info_banner_settings['button_border_radius'] ) {
$global_button_style .= 'border-radius:' . $ult_info_banner_settings['button_border_radius'] . 'px;';
$is_css = true;
}
if ( '' != $ult_info_banner_settings['button_text_color'] ) {
$global_button_style .= 'color:' . $ult_info_banner_settings['button_text_color'] . ';';
$is_css = true;
}
if ( '' != $ult_info_banner_settings['button_text_hover_color'] ) {
$global_button_hover_style .= 'color:' . $ult_info_banner_settings['button_text_hover_color'] . ';';
$is_css = true;
}
if ( $is_css ) {
$output .= '';
if ( '' != $ult_info_banner_settings['banner_img_height_large_screen'] ) {
$output .= '';
}
if ( '' != $ult_info_banner_settings['banner_img_height_tablet'] ) {
$output .= '';
}
if ( '' != $ult_info_banner_settings['banner_img_height_tablet_portrait'] ) {
$output .= '';
}
if ( '' != $ult_info_banner_settings['banner_img_height_mobile_landscape'] ) {
$output .= '';
}
if ( '' != $ult_info_banner_settings['banner_img_height_mobile'] ) {
$output .= '';
}
}
return $output;
}
}
}
if ( class_exists( 'Ultimate_VC_Addons_Info_Banner' ) ) {
$ultimate_info_banner = new Ultimate_VC_Addons_Info_Banner();
}
if ( class_exists( 'WPBakeryShortCode' ) && ! class_exists( 'WPBakeryShortCode_Ultimate_Info_Banner' ) ) {
/**
* Class WPBakeryShortCode_Ultimate_Info_Banner
*/
class WPBakeryShortCode_Ultimate_Info_Banner extends WPBakeryShortCode {
}
}