order::get_type(), [ 'name' => 'ekit_testimonial_client_dot_active_border', 'label' => esc_html__( 'Border', 'elementskit-lite' ), 'selector' => '{{WRAPPER}} .elementskit-testimonial-slider .swiper-pagination span.swiper-pagination-bullet-active', ] ); $this->add_responsive_control( 'ekit_testimonial_client_dot_active_scale', [ 'label' => esc_html__( 'Scale', 'elementskit-lite' ), 'type' => Controls_Manager::SLIDER, 'size_units' => [ 'px' ], 'range' => [ 'px' => [ 'min' => .5, 'max' => 3, 'step' => 0.1, ], ], 'default' => [ 'unit' => 'px', 'size' => 1.2, ], 'selectors' => [ '{{WRAPPER}} .elementskit-testimonial-slider .swiper-pagination span.swiper-pagination-bullet-active' => 'transform: scale({{SIZE}});', ], ] ); $this->end_controls_section(); $this->start_controls_section( 'ekit_testimonial_nav_style_tab', [ 'label' => esc_html__( 'Nav', 'elementskit-lite' ), 'tab' => Controls_Manager::TAB_STYLE, 'condition' => [ 'ekit_testimonial_show_arrow' => 'yes' ] ] ); $this->add_responsive_control( 'ekit_testimonial_nav_font_size', [ 'label' => esc_html__( 'Font Size', 'elementskit-lite' ), 'type' => Controls_Manager::SLIDER, 'size_units' => [ 'px' ], 'range' => [ 'px' => [ 'min' => 0, 'max' => 200, 'step' => 1, ], ], 'default' => [ 'unit' => 'px', 'size' => 36, ], 'selectors' => [ '{{WRAPPER}} .elementskit-testimonial-slider .swiper-navigation-button' => 'font-size: {{SIZE}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'ekit_testimonial_nav_right_icon', [ 'label' => esc_html__( 'Prev', 'elementskit-lite' ), 'type' => Controls_Manager::SLIDER, 'size_units' => [ '%' ], 'range' => [ '%' => [ 'min' => -200, 'max' => 200, ], ], 'default' => [ 'unit' => '%', 'size' => 0, ], 'selectors' => [ '{{WRAPPER}} .elementskit-testimonial-slider .swiper-button-prev' => 'left: {{SIZE}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'ekit_testimonial_nav_left_icon', [ 'label' => esc_html__( 'Next', 'elementskit-lite' ), 'type' => Controls_Manager::SLIDER, 'size_units' => [ '%' ], 'range' => [ '%' => [ 'min' => -200, 'max' => 200, ], ], 'default' => [ 'unit' => '%', 'size' => 0, ], 'selectors' => [ '{{WRAPPER}} .elementskit-testimonial-slider .swiper-button-next' => 'right: {{SIZE}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'ekit_testimonial_nav_width', [ 'label' => esc_html__( 'Width', 'elementskit-lite' ), 'type' => Controls_Manager::SLIDER, 'size_units' => [ 'px' ], 'range' => [ 'px' => [ 'min' => 0, 'max' => 100, 'step' => 1, ], ], 'default' => [ 'unit' => 'px', 'size' => 50, ], 'selectors' => [ '{{WRAPPER}} .elementskit-testimonial-slider .swiper-button-prev' => 'width: {{SIZE}}{{UNIT}};', '{{WRAPPER}} .elementskit-testimonial-slider .swiper-button-next' => 'width: {{SIZE}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'ekit_testimonial_nav_height', [ 'label' => esc_html__( 'Height', 'elementskit-lite' ), 'type' => Controls_Manager::SLIDER, 'size_units' => [ 'px' ], 'range' => [ 'px' => [ 'min' => 0, 'max' => 100, 'step' => 1, ], ], 'default' => [ 'unit' => 'px', 'size' => 50, ], 'selectors' => [ '{{WRAPPER}} .elementskit-testimonial-slider .swiper-button-prev' => 'height: {{SIZE}}{{UNIT}};', '{{WRAPPER}} .elementskit-testimonial-slider .swiper-button-next' => 'height: {{SIZE}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'ekit_testimonial_nav_vertical_align', [ 'label' => esc_html__( 'Vertical Align', 'elementskit-lite' ), 'type' => Controls_Manager::SLIDER, 'size_units' => [ 'px','%' ], 'range' => [ '%' => [ 'min' => -500, 'max' => 500, ], 'px' => [ 'min' => -500, 'max' => 500, ], ], 'selectors' => [ '{{WRAPPER}} .elementskit-testimonial-slider .swiper-navigation-button' => ' -webkit-transform: translateY({{SIZE}}{{UNIT}}); -ms-transform: translateY({{SIZE}}{{UNIT}}); transform: translateY({{SIZE}}{{UNIT}});', ], ] ); $this->start_controls_tabs( 'ekit_testimonial_nav_hover_normal_tabs' ); $this->start_controls_tab( 'ekit_testimonial_nav_normal_tab', [ 'label' => esc_html__( 'Normal', 'elementskit-lite' ), ] ); $this->add_responsive_control( 'ekit_testimonial_nav_font_color_normal', [ 'label' => esc_html__( 'Color', 'elementskit-lite' ), 'type' => Controls_Manager::COLOR, 'default' => '#000000', 'selectors' => [ '{{WRAPPER}} .elementskit-testimonial-slider .swiper-button-prev' => 'color: {{VALUE}}', '{{WRAPPER}} .elementskit-testimonial-slider .swiper-button-next' => 'color: {{VALUE}}', ], ] ); $this->add_group_control( Group_Control_Background::get_type(), [ 'name' => 'ekit_testimonial_nav_background_normal', 'label' => esc_html__( 'Background', 'elementskit-lite' ), 'types' => [ 'classic', 'gradient' ], 'selector' => '{{WRAPPER}} .elementskit-testimonial-slider .swiper-button-prev, {{WRAPPER}} .elementskit-testimonial-slider .swiper-button-next', ] ); $this->add_group_control( Group_Control_Box_Shadow::get_type(), [ 'name' => 'ekit_testimonial_nav_box_shadow_normal', 'label' => esc_html__( 'Box Shadow', 'elementskit-lite' ), 'selector' => '{{WRAPPER}} .elementskit-testimonial-slider .swiper-button-prev, {{WRAPPER}} .elementskit-testimonial-slider .swiper-button-next', ] ); $this->add_group_control( Group_Control_Border::get_type(), [ 'name' => 'ekit_testimonial_nav_border_normal', 'label' => esc_html__( 'Border', 'elementskit-lite' ), 'selector' => '{{WRAPPER}} .elementskit-testimonial-slider .swiper-button-prev, {{WRAPPER}} .elementskit-testimonial-slider .swiper-button-next', ] ); $this->end_controls_tab(); $this->start_controls_tab( 'ekit_testimonial_nav_hover_tab', [ 'label' => esc_html__( 'Hover', 'elementskit-lite' ), ] ); $this->add_responsive_control( 'ekit_testimonial_nav_font_color_hover', [ 'label' => esc_html__( 'Color', 'elementskit-lite' ), 'type' => Controls_Manager::COLOR, 'default' => '#000000', 'selectors' => [ '{{WRAPPER}} .elementskit-testimonial-slider .swiper-button-prev:hover' => 'color: {{VALUE}}', '{{WRAPPER}} .elementskit-testimonial-slider .swiper-button-next:hover' => 'color: {{VALUE}}', ], ] ); $this->add_group_control( Group_Control_Background::get_type(), [ 'name' => 'ekit_testimonial_nav_background_hover', 'label' => esc_html__( 'Background', 'elementskit-lite' ), 'types' => [ 'classic', 'gradient' ], 'selector' => '{{WRAPPER}} .elementskit-testimonial-slider .swiper-button-prev:hover, {{WRAPPER}} .elementskit-testimonial-slider .swiper-button-next:hover', ] ); $this->add_group_control( Group_Control_Box_Shadow::get_type(), [ 'name' => 'ekit_testimonial_nav_box_shadow_hover', 'label' => esc_html__( 'Box Shadow', 'elementskit-lite' ), 'selector' => '{{WRAPPER}} .elementskit-testimonial-slider .swiper-button-prev:hover, {{WRAPPER}} .elementskit-testimonial-slider .swiper-button-next:hover', ] ); $this->add_group_control( Group_Control_Border::get_type(), [ 'name' => 'ekit_testimonial_nav_border_hover', 'label' => esc_html__( 'Border', 'elementskit-lite' ), 'selector' => '{{WRAPPER}} .elementskit-testimonial-slider .swiper-button-prev:hover, {{WRAPPER}} .elementskit-testimonial-slider .swiper-button-next:hover', ] ); $this->end_controls_tab(); $this->end_controls_tabs(); $this->add_responsive_control( 'ekit_testimonial_nav_border_radius', [ 'label' => esc_html__( 'Border Radius', 'elementskit-lite' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => [ 'px', '%', 'em' ], 'selectors' => [ '{{WRAPPER}} .elementskit-testimonial-slider .swiper-button-prev' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', '{{WRAPPER}} .elementskit-testimonial-slider .swiper-button-next' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], 'separator' => 'before' ] ); $this->add_responsive_control( 'ekit_price_menu_arrow_padding', [ 'label' => esc_html__( 'Padding', 'elementskit-lite' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => [ 'px', 'em' ], 'selectors' => [ '{{WRAPPER}} .elementskit-testimonial-slider .swiper-navigation-button' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->end_controls_section(); $this->insert_pro_message(); } protected function render( ) { echo '
'; $this->render_raw(); echo '
'; } protected function render_raw( ) { $testimonials = []; $settings = $this->get_settings_for_display(); extract($settings); // Left Arrow Icon $migrated = isset( $settings['__fa4_migrated']['ekit_testimonial_left_arrows'] ); // - Check if its a new widget without previously selected icon using the old Icon control $is_new = empty( $settings['ekit_testimonial_left_arrow'] ); $prevArrowIcon = ($is_new || $migrated) ? (!empty($ekit_testimonial_left_arrows) && $settings['ekit_testimonial_left_arrows']['library'] != 'svg' ? $settings['ekit_testimonial_left_arrows']['value'] : '') : $settings['ekit_testimonial_left_arrow']; // Right Arrow Icon $migrated = isset( $settings['__fa4_migrated']['ekit_testimonial_right_arrows'] ); // - Check if its a new widget without previously selected icon using the old Icon control $is_new = empty( $settings['ekit_testimonial_right_arrow'] ); $nextArrowIcon = ($is_new || $migrated) ? !empty($ekit_testimonial_right_arrows) && $settings['ekit_testimonial_right_arrows']['library'] != 'svg' ? $settings['ekit_testimonial_right_arrows']['value'] : '' : $settings['ekit_testimonial_right_arrow']; $slides_to_show_count = $ekit_testimonial_slidetoshow ? $ekit_testimonial_slidetoshow : 1; $slides_to_scroll_count = $ekit_testimonial_slidesToScroll ? $ekit_testimonial_slidesToScroll : 1; // Config $config = [ 'rtl' => is_rtl(), 'arrows' => $ekit_testimonial_show_arrow ? true : false, 'dots' => $ekit_testimonial_show_dot ? true : false, 'pauseOnHover' => $ekit_testimonial_pause_on_hover ? true : false, 'autoplay' => $ekit_testimonial_autoplay ? true : false, 'speed' => $ekit_testimonial_speed ? $ekit_testimonial_speed : 1000, 'slidesPerGroup' => (int) $slides_to_scroll_count, 'slidesPerView' => (int) $slides_to_show_count, 'loop' => ( !empty($ekit_testimonial_loop) && $ekit_testimonial_loop == 'yes' ) ? true : false, 'breakpoints' => [ 320 => [ 'slidesPerView' => !empty( $ekit_testimonial_slidetoshow_mobile ) ? $ekit_testimonial_slidetoshow_mobile : 1, 'slidesPerGroup' => !empty( $ekit_testimonial_slidesToScroll_mobile ) ? $ekit_testimonial_slidesToScroll_mobile : 1, 'spaceBetween' => !empty( $ekit_testimonial_left_right_spacing_mobile['size'] ) ? $ekit_testimonial_left_right_spacing_mobile['size'] : 10, ], 768 => [ 'slidesPerView' => !empty( $ekit_testimonial_slidetoshow_tablet ) ? $ekit_testimonial_slidetoshow_tablet : 2, 'slidesPerGroup' => !empty( $ekit_testimonial_slidesToScroll_tablet ) ? $ekit_testimonial_slidesToScroll_tablet : 1, 'spaceBetween' => !empty( $ekit_testimonial_left_right_spacing_tablet['size'] ) ? $ekit_testimonial_left_right_spacing_tablet['size'] : 10, ], 1024 => [ 'slidesPerView' => $slides_to_show_count, 'slidesPerGroup' => $slides_to_scroll_count, 'spaceBetween' => !empty( $ekit_testimonial_left_right_spacing['size'] ) ? $ekit_testimonial_left_right_spacing['size'] : 15, ] ], ]; // HTML Attribute $this->add_render_attribute( 'wrapper', [ 'data-config' => wp_json_encode($config), ] ); // Swiper container $this->add_render_attribute( 'swiper-container', [ 'class' => \ElementsKit_Lite\Utils::swiper_class(), ] ); $dir_common = Handler::get_dir() .'common/'; $testimonials = isset($ekit_testimonial_data) ? $ekit_testimonial_data : []; $style = isset($ekit_testimonial_style) ? $ekit_testimonial_style : 'default'; if (is_array($testimonials) && !empty($testimonials)): require Handler::get_dir() . 'style/'.$style.'.php'; endif; // end if check testimonila array } } لوازم خانگی - تجهیزات جانبی دستگاه تزریق پلاستیک مجتمع صنعتی ام تی سی

مشتریان صنعت لوازم خانگی

مفتخر هستیم که بزرگ ترین شرکت های صنعت لوازم خانگی در ایران از محصولات ما استفاده می کنند.

محصولات