????JFIF??x?x????'
Server IP : 104.21.64.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' ) ); if ( !empty($cws_theme_funcs) ) { $text_color = $cws_theme_funcs->cws_get_option('body-font')['color']; } else { $text_color = '#3f485d'; } $icon_params = cws_ext_icon_vc_sc_config_params(); $params = cws_ext_merge_arrs( array( array( array( "type" => "textfield", "admin_label" => true, "heading" => esc_html__( 'Author Name', 'globeco' ), "param_name" => "author_name", ), array( "type" => "textarea", "heading" => esc_html__( 'Quote text', 'globeco' ), "param_name" => "quote_text", ), array( "type" => "attach_image", "heading" => esc_html__( 'Image', 'globeco' ), "param_name" => "image", ), ), $icon_params, array( array( "type" => "dropdown", "heading" => esc_html__( 'Icon Size', 'globeco' ), "param_name" => "icon_size", "value" => array( esc_html__( 'Mini', 'globeco' ) => 'lg', esc_html__( 'Small', 'globeco' ) => '2x', esc_html__( 'Medium', 'globeco' ) => '3x', esc_html__( 'Large', 'globeco' ) => '4x', esc_html__( 'Extra Large', 'globeco' ) => '5x', ) ), array( "type" => "checkbox", "param_name" => "customize_icon_size", "value" => array( esc_html__( 'Customize Sizes', 'globeco' ) => true ) ), array( "type" => "textfield", "heading" => esc_html__( 'Icon Size', 'globeco' ), "param_name" => "custom_icon_size", "dependency" => array( "element" => "customize_icon_size", "not_empty" => true ), "value" => "74px" ), array( "type" => "dropdown", "heading" => esc_html__( 'Rating', 'globeco' ), "param_name" => "rating", "value" => array( esc_html__( 'Very bad', 'globeco' ) => '0', esc_html__( 'Bad', 'globeco' ) => '1', esc_html__( 'Poor', 'globeco' ) => '2', esc_html__( 'Fair', 'globeco' ) => '3', esc_html__( 'Good', 'globeco' ) => '4', esc_html__( 'Excellent', 'globeco' ) => '5', ), ), array( 'type' => 'param_group', 'heading' => esc_html__( 'Info', 'globeco' ), 'param_name' => 'info', 'value' => urlencode( json_encode( array( array( 'title' => '', 'count' => '', ), ) ) ), 'params' => array( array( "type" => "textfield", "heading" => esc_html__( 'Info Row Title', 'globeco' ), "param_name" => "title", ), array( "type" => "textfield", "heading" => esc_html__( 'Info Row Counter Value', 'globeco' ), "param_name" => "count", ), ), ), array( "type" => "checkbox", "param_name" => "customize_colors", "value" => array( esc_html__( 'Customize Colors', 'globeco' ) => true ) ), array( "type" => "colorpicker", "heading" => esc_html__( 'Quote Text Color', 'globeco' ), "param_name" => "text_font_color", "dependency" => array( "element" => "customize_colors", "not_empty" => true ), "value" => $text_color ), array( "type" => "colorpicker", "heading" => esc_html__( 'Icon Color', 'globeco' ), "param_name" => "icon_color", "dependency" => array( "element" => "customize_colors", "not_empty" => true ), "value" => $second_color ), array( "type" => "colorpicker", "heading" => esc_html__( 'Info Counters Color', 'globeco' ), "param_name" => "info_counters_color", "dependency" => array( "element" => "customize_colors", "not_empty" => true ), "value" => $first_color ), 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" => "" ), ), )); // Map Shortcode in Visual Composer vc_map( array( "name" => esc_html__( 'CWS Quote', 'globeco' ), "base" => "cws_sc_quote", 'category' => "By CWS", 'icon' => 'cws_icon', "weight" => 80, "params" => $params )); if ( class_exists( 'WPBakeryShortCode' ) ) { class WPBakeryShortCode_CWS_Sc_Quote extends WPBakeryShortCode { } } ?>