????JFIF??x?x????'
Server IP : 104.21.16.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 // Map Shortcode in Visual Composer 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' ) ); vc_map( array( "name" => esc_html__( 'Custom Testimonials', 'globeco' ), "base" => "cws_sc_vc_testimonial", 'category' => "By CWS", "icon" => "cws_icon", "weight" => 80, "params" => array( array( "type" => "dropdown", "heading" => esc_html__( 'Testimonials Style', 'globeco' ), "param_name" => "testimonials_style", "value" => array( esc_html__( 'Compact', 'globeco' ) => 'style_1', esc_html__( 'Standard', 'globeco' ) => 'style_2', esc_html__( 'Twitter', 'globeco' ) => 'style_3', ), ), array( 'type' => 'param_group', 'heading' => esc_html__( 'Values', 'globeco' ), 'param_name' => 'values', 'description' => esc_html__( 'Enter values for graph - thumbnail, quote, author name, author status and testimonial rating.', 'globeco' ), 'value' => urlencode( json_encode( array( array( 'thumbnail' => '', 'quote' => '', 'author_name' => 'John Doe', 'author_status' => '', 'show_rating' => false, 'testimonial_rating' => '0' ) ) ) ), 'params' => array( array( "type" => "attach_image", "heading" => esc_html__( 'Thumbnail', 'globeco' ), "param_name" => "thumbnail", ), array( "type" => "textarea", "heading" => esc_html__( 'Quote', 'globeco' ), "param_name" => "quote", ), array( "type" => "textfield", "heading" => esc_html__( 'Author Name', 'globeco' ), "param_name" => "author_name", 'admin_label' => true, ), array( "type" => "textfield", "heading" => esc_html__( 'Author Link URL', 'globeco' ), "param_name" => "author_link_url", "dependency" => array( "element" => "testimonials_style", "value" => array( 'style_3' ) ), ), array( "type" => "textfield", "heading" => esc_html__( 'Author Link Text', 'globeco' ), "param_name" => "author_link_text", "dependency" => array( "element" => "testimonials_style", "value" => array( 'style_3' ) ), ), array( "type" => "checkbox", "param_name" => "show_rating", "value" => array( esc_html__( 'Show rating', 'globeco' ) => true ), ), array( "type" => "dropdown", "heading" => esc_html__( 'Testimonial Rating', 'globeco' ), "param_name" => "testimonial_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', ), "dependency" => array( "element" => "show_rating", "not_empty" => true ), ), array( "type" => "checkbox", "param_name" => "show_date", "value" => array( esc_html__( 'Show date', 'globeco' ) => true ), "dependency" => array( "element" => "testimonials_style", "value" => array( 'style_3' ) ), ), array( "type" => "textfield", "heading" => esc_html__( 'Enter message date', 'globeco' ), "param_name" => "message_date", "dependency" => array( "element" => "show_date", "not_empty" => true ), ), ), ), array( "type" => "dropdown", "heading" => esc_html__( 'Testimonials Grid', 'globeco' ), "param_name" => "item_grid", "value" => array( esc_html__( 'One Column', 'globeco' ) => '1', esc_html__( 'Two Columns', 'globeco' ) => '2', esc_html__( 'Three Columns', 'globeco' ) => '3', ), ), array( "type" => "checkbox", "param_name" => "hover_effect", "std" => false, "value" => array( esc_html__( 'Use Hover Effect', 'globeco' ) => true ) ), array( "type" => "checkbox", "param_name" => "use_carousel", "std" => true, "value" => array( esc_html__( 'Use Carousel', 'globeco' ) => true ) ), array( "type" => "checkbox", "param_name" => "bullets_nav", "value" => array( esc_html__( 'Add Navigation Bullets', 'globeco' ) => true ), "dependency" => array( "element" => "use_carousel", "not_empty" => true ), ), array( "type" => "checkbox", "param_name" => "arrows_nav", "value" => array( esc_html__( 'Add Navigation Arrows', 'globeco' ) => true ), "dependency" => array( "element" => "use_carousel", "not_empty" => true ), ), array( "type" => "checkbox", "param_name" => "autoplay", "value" => array( esc_html__( 'Autoplay', 'globeco' ) => true ), "dependency" => array( "element" => "use_carousel", "not_empty" => true ), ), array( "type" => "textfield", "heading" => esc_html__( 'Autoplay Speed', 'globeco' ), "param_name" => "autoplay_speed", "dependency" => array( "element" => "autoplay", "not_empty" => true ), "value" => "3000" ), array( "type" => "checkbox", "param_name" => "customize_colors", "value" => array( esc_html__( 'Customize Colors', 'globeco' ) => true ) ), array( "type" => "colorpicker", "heading" => esc_html__( 'Text Color', 'globeco' ), "param_name" => "text_color", "value" => '#5d6881', "dependency" => array( "element" => "customize_colors", "not_empty" => true ) ), array( "type" => "colorpicker", "heading" => esc_html__( 'Author Color', 'globeco' ), "param_name" => "author_color", "value" => $second_color, "dependency" => array( "element" => "customize_colors", "not_empty" => true ) ), array( "type" => "colorpicker", "heading" => esc_html__( 'Background Color', 'globeco' ), "param_name" => "bg_color", "value" => '#ffffff', "dependency" => array( "element" => "customize_colors", "not_empty" => true ) ), array( "type" => "colorpicker", "heading" => esc_html__( 'Carousel Dots Color', 'globeco' ), "param_name" => "dots_color", "value" => "#bed1db", "dependency" => array( "element" => "customize_colors", "not_empty" => true ) ), 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_Testimonial extends WPBakeryShortCode { } } ?>