????JFIF??x?x????'
Server IP : 104.21.112.1 / Your IP : 216.73.216.145 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/tempvsty/eaabusiness.com/wp-content/themes/globeco/vc/theme_shortcodes/ |
Upload File : |
<?php global $cws_theme_funcs; $first_color = esc_attr( $cws_theme_funcs->cws_get_option( 'theme-first-color' ) ); $second_color = esc_attr( $cws_theme_funcs->cws_get_option( 'theme-second-color' ) ); $header_font = $cws_theme_funcs->cws_get_option('header-font'); $header_color = esc_attr( $header_font['color'] ); // Map Shortcode in Visual Composer vc_map( array( "name" => esc_html__( 'CWS Banner', 'globeco' ), "base" => "cws_sc_banners", 'category' => "By CWS", 'icon' => 'cws_icon', "weight" => 80, "params" => array( array( "type" => "textarea", "admin_label" => true, "heading" => esc_html__( 'Title', 'globeco' ), "param_name" => "title", ), array( "type" => "textarea", "heading" => esc_html__( 'Title Description', 'globeco' ), "param_name" => "offer", ), array( "type" => "dropdown", "heading" => esc_html__( 'Banner style', 'globeco' ), "param_name" => "style", "value" => array( esc_html__( 'Style 1', 'globeco' ) => 'style_1', esc_html__( 'Style 2', 'globeco' ) => 'style_2', esc_html__( 'Style 3', 'globeco' ) => 'style_3', ) ), array( "type" => "checkbox", "param_name" => "edit_colors", "value" => array( esc_html__( 'Edit banner colors', 'globeco' ) => true ) ), array( "type" => "colorpicker", "heading" => esc_html__( 'Title Font Color', 'globeco' ), "param_name" => "title_font_color", "dependency" => array( "element" => "edit_colors", "not_empty" => true ), "value" => '#ffffff' ), array( "type" => "colorpicker", "heading" => esc_html__( 'Text Font Color', 'globeco' ), "param_name" => "text_font_color", "dependency" => array( "element" => "edit_colors", "not_empty" => true ), "value" => '#ffffff' ), array( "type" => "colorpicker", "heading" => esc_html__( 'Divider Color', 'globeco' ), "param_name" => "divider_bg_color", "dependency" => array( "element" => "edit_colors", "not_empty" => true ), "value" => $first_color ), array( "type" => "dropdown", "heading" => esc_html__( 'Text Position', 'globeco' ), "param_name" => "text_pos", "value" => array( esc_html__( 'Left', 'globeco' ) => 'left', esc_html__( 'Center', 'globeco' ) => 'center', esc_html__( 'Right', 'globeco' ) => 'right', ) ), array( "type" => "checkbox", "param_name" => "add_button", "value" => array( esc_html__( 'Add Button', 'globeco' ) => true ) ), array( "type" => "textfield", "heading" => esc_html__( 'Button Title', 'globeco' ), "param_name" => "button_text", "dependency" => array( "element" => "add_button", "not_empty" => true ), ), array( "type" => "textfield", "heading" => esc_html__( 'Url', 'globeco' ), "param_name" => "button_url", "dependency" => array( "element" => "add_button", "not_empty" => true ) ), array( "type" => "dropdown", "heading" => esc_html__( 'Button Style', 'globeco' ), "param_name" => "button_style", "dependency" => array( "element" => "add_button", "not_empty" => true ), "value" => array( esc_html__( 'Default', 'globeco' ) => 'default', esc_html__( 'Simple', 'globeco' ) => 'simple', esc_html__( 'Advanced', 'globeco' ) => 'advanced', ) ), array( "type" => "dropdown", "heading" => esc_html__( 'Button Position', 'globeco' ), "param_name" => "button_position", "dependency" => array( "element" => "style", "value" => array( 'style_1' ) ), "value" => array( esc_html__( 'Default', 'globeco' ) => 'default', esc_html__( 'Floated', 'globeco' ) => 'floated', ) ), array( "type" => "checkbox", "param_name" => "button_new_tab", "dependency" => array( "element" => "add_button", "not_empty" => true ), "value" => array( esc_html__( 'Open Link in New Tab', 'globeco' ) => true ) ), array( "type" => "checkbox", "param_name" => "button_colors", "dependency" => array( "element" => "add_button", "not_empty" => true ), "value" => array( esc_html__( 'Edit Button Colors', 'globeco' ) => true ) ), array( "type" => "colorpicker", "heading" => esc_html__( 'Font Color', 'globeco' ), "param_name" => "font_color", "edit_field_class" => "vc_col-xs-6", "dependency" => array( "element" => "button_colors", "not_empty" => true ), "value" => '#fff' ), array( "type" => "colorpicker", "heading" => esc_html__( 'Font Hover Color', 'globeco' ), "param_name" => "font_color_hover", "edit_field_class" => "vc_col-xs-6", "dependency" => array( "element" => "button_colors", "not_empty" => true ), "value" => '#fff' ), array( "type" => "colorpicker", "heading" => esc_html__( 'Background Color', 'globeco' ), "param_name" => "background_color", "edit_field_class" => "vc_col-xs-6", "dependency" => array( "element" => "button_colors", "not_empty" => true ), "value" => $first_color ), array( "type" => "colorpicker", "heading" => esc_html__( 'Background Hover Color', 'globeco' ), "param_name" => "background_color_hover", "edit_field_class" => "vc_col-xs-6", "dependency" => array( "element" => "button_colors", "not_empty" => true ), "value" => $first_color ), array( "type" => "colorpicker", "heading" => esc_html__( 'Border Color', 'globeco' ), "param_name" => "border_color", "dependency" => array( "element" => "button_colors", "not_empty" => true ), "edit_field_class" => "vc_col-xs-6", "value" => $first_color ), array( "type" => "colorpicker", "heading" => esc_html__( 'Border Hover Color', 'globeco' ), "param_name" => "border_color_hover", "edit_field_class" => "vc_col-xs-6", "dependency" => array( "element" => "button_colors", "not_empty" => true ), "value" => $first_color ), array( "type" => "attach_image", "heading" => esc_html__( 'Background Image', 'globeco' ), "param_name" => "bg_img", ), array( "type" => "colorpicker", "heading" => esc_html__( 'Background Color Overlay', 'globeco' ), "param_name" => "bg_color", "value" => 'rgba(39, 39, 39, 0.51)' ), array( "type" => "textfield", "heading" => esc_html__( 'Extra class name', 'globeco' ), "description" => esc_html__( 'If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'globeco' ), "param_name" => "el_class", "value" => "" ) ) )); if ( class_exists( 'WPBakeryShortCode' ) ) { class WPBakeryShortCode_CWS_Sc_Banners extends WPBakeryShortCode { } } ?>