????JFIF??x?x????'
Server IP : 104.21.80.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__( 'CWS Carousel', 'globeco' ), "base" => "cws_sc_carousel", 'content_element' => true, 'as_parent' => array('only' => 'cws_sc_milestone, vc_column_text, cws_sc_vc_testimonial, cws_sc_button, cws_sc_msg_box, cws_sc_text, cws_sc_progress_bar, cws_sc_services, cws_sc_widget_text, cq_vc_hotspot, vc_single_image, cws_sc_tips, cws_sc_quote'), 'category' => "By CWS", "icon" => "cws_icon", "weight" => 80, 'js_view' => 'VcColumnView', "params" => array( array( "type" => "textfield", "admin_label" => true, "heading" => esc_html__( 'Title', 'globeco' ), "param_name" => "title", ), array( "type" => "dropdown", "heading" => esc_html__( 'Carousel Columns', 'globeco' ), "param_name" => "columns", "value" => array( esc_html__( "One", 'globeco' ) => '1', esc_html__( "Two", 'globeco' ) => '2', esc_html__( "Three", 'globeco' ) => '3', esc_html__( "Four", 'globeco' ) => '4', esc_html__( "Five", 'globeco' ) => '5', esc_html__( "Six", 'globeco' ) => '6' ) ), array( "type" => "checkbox", "param_name" => "bullets_nav", "value" => array( esc_html__( 'Add Navigation Bullets', 'globeco' ) => true ) ), array( "type" => "textfield", "heading" => esc_html__( 'Bullets Top Spacing', 'globeco' ), "param_name" => "bullets_spacing", "description" => esc_html__( 'In Pixels', 'globeco' ), "dependency" => array( "element" => "bullets_nav", "not_empty" => true ), "value" => "0" ), array( "type" => "checkbox", "param_name" => "arrows_nav", "value" => array( esc_html__( 'Add Navigation Arrows', 'globeco' ) => true ) ), array( "type" => "dropdown", "heading" => esc_html__( 'Arrows Position', 'globeco' ), "param_name" => "arrows_pos", "value" => array( esc_html__( "Default", 'globeco' ) => 'default', esc_html__( "Top Left", 'globeco' ) => 'top_left', esc_html__( "Top Right", 'globeco' ) => 'top_right', esc_html__( "Bottom Left", 'globeco' ) => 'bottom_left', esc_html__( "Bottom Right", 'globeco' ) => 'bottom_right' ), "dependency" => array( "element" => "arrows_nav", "not_empty" => true ), ), array( "type" => "textfield", "heading" => esc_html__( 'Arrows Side Spacing', 'globeco' ), "param_name" => "arrows_spacing", "description" => esc_html__( 'In Pixels', 'globeco' ), "dependency" => array( "element" => "arrows_nav", "not_empty" => true ), "value" => "0" ), array( "type" => "checkbox", "param_name" => "arrows_on_hover", "std" => '1', "value" => array( esc_html__( 'Show Arrows on Hover', 'globeco' ) => true ) ), array( "type" => "checkbox", "param_name" => "customize_colors", "value" => array( esc_html__( 'Edit Colors', 'globeco' ) => true ) ), array( "type" => "colorpicker", "heading" => esc_html__( 'Background Color', 'globeco' ), "param_name" => "background_color", "dependency" => array( "element" => "customize_colors", "not_empty" => true ), "value" => "" ), array( "type" => "colorpicker", "heading" => esc_html__( 'Prev Button Color', 'globeco' ), "param_name" => "prev_color", "dependency" => array( "element" => "customize_colors", "not_empty" => true ), "value" => $first_color ), array( "type" => "colorpicker", "heading" => esc_html__( 'Next Button Color', 'globeco' ), "param_name" => "next_color", "dependency" => array( "element" => "customize_colors", "not_empty" => true ), "value" => $first_color ), array( "type" => "colorpicker", "heading" => esc_html__( 'Prev Button Color on Hover', 'globeco' ), "param_name" => "prev_color_hover", "dependency" => array( "element" => "customize_colors", "not_empty" => true ), "value" => $first_color ), array( "type" => "colorpicker", "heading" => esc_html__( 'Next Button Color on Hover', 'globeco' ), "param_name" => "next_color_hover", "dependency" => array( "element" => "customize_colors", "not_empty" => true ), "value" => $first_color ), array( "type" => "colorpicker", "heading" => esc_html__( 'Arrows Color', 'globeco' ), "param_name" => "custom_arrow_color", "dependency" => array( "element" => "customize_colors", "not_empty" => true ), "value" => "" ), array( "type" => "colorpicker", "heading" => esc_html__( 'Bullets Color', 'globeco' ), "param_name" => "custom_pagination_color", "dependency" => array( "element" => "customize_colors", "not_empty" => true ), "value" => $second_color ), array( "type" => "textfield", "heading" => esc_html__( 'Carousel Padings', 'globeco' ), "description" => esc_html__( '1, 2( top/bottom, left/right ) or 4, space separated, values with units', 'globeco' ), "param_name" => "carousel_paddings", "value" => "0px 0px 0px 0px" ), array( "type" => "textfield", "heading" => esc_html__( 'Navigation Margins Offset', 'globeco' ), "description" => esc_html__( '1, 2( top/bottom, left/right ) or 4, space separated, values with units', 'globeco' ), "param_name" => "margins_navigation", "value" => "0px 0px 0px 0px" ), array( "type" => "textfield", "heading" => esc_html__( 'Pagination Margins Offset', 'globeco' ), "description" => esc_html__( '1, 2( top/bottom, left/right ) or 4, space separated, values with units', 'globeco' ), "param_name" => "margins_pagination", "value" => "0px 0px 0px 0px" ), ) )); if ( class_exists( 'WPBakeryShortCodesContainer' ) ) { class WPBakeryShortCode_CWS_Sc_Carousel extends WPBakeryShortCodesContainer { } } ?>