Submit
Path:
~
/
home
/
getwphos
/
www
/
twinkletown
/
wp-content
/
plugins
/
wuko-core
/
includes
/
elementor
/
widgets
/
File Content:
wgl-testimonials.php
<?php /** * This template can be overridden by copying it to `yourtheme[-child]/wgl-extensions/elementor/widgets/wgl-testimonials.php`. */ namespace WGL_Extensions\Widgets; defined('ABSPATH') || exit; // Abort, if called directly. use Elementor\{ Widget_Base, Controls_Manager, Utils, Repeater, Group_Control_Border, Group_Control_Box_Shadow, Group_Control_Typography, Group_Control_Background }; use WGL_Extensions\{ WGL_Framework_Global_Variables as WGL_Globals, Includes\WGL_Carousel_Settings, Includes\WGL_Cursor, Templates\WGL_Testimonials as Testimonials_Template }; class WGL_Testimonials extends Widget_Base { public function get_name() { return 'wgl-testimonials'; } public function get_title() { return esc_html__('WGL Testimonials', 'wuko-core'); } public function get_icon() { return 'wgl-testimonials'; } public function get_keywords() { return [ 'testimonials', 'carousel', 'slider' ]; } public function get_script_depends() { return ['swiper']; } public function get_style_depends() { return [ 'swiper' ]; } public function get_categories() { return ['wgl-modules']; } protected function register_controls() { /** * CONTENT -> GENERAL */ $this->start_controls_section( 'content_general', ['label' => esc_html__('General', 'wuko-core')] ); $this->add_control( 'posts_per_row', [ 'label' => esc_html__('Grid Columns Amount', 'wuko-core'), 'type' => Controls_Manager::SELECT, 'render_type' => 'template', 'options' => [ '1' => esc_html__('1 (one)', 'wuko-core'), '2' => esc_html__('2 (two)', 'wuko-core'), '3' => esc_html__('3 (three)', 'wuko-core'), '4' => esc_html__('4 (four)', 'wuko-core'), '5' => esc_html__('5 (five)', 'wuko-core'), ], 'default' => '1', ] ); $repeater = new Repeater(); $repeater->add_control( 'thumbnail', [ 'label' => esc_html__('Thumbnail', 'wuko-core'), 'type' => Controls_Manager::MEDIA, 'dynamic' => ['active' => true], 'label_block' => true, 'default' => ['url' => Utils::get_placeholder_image_src()], ] ); $repeater->add_control( 'author_name', [ 'label' => esc_html__('Author Name', 'wuko-core'), 'type' => Controls_Manager::TEXT, 'dynamic' => ['active' => true], 'label_block' => true ] ); $repeater->add_control( 'link_author', [ 'label' => esc_html__('Link Author', 'wuko-core'), 'type' => Controls_Manager::URL, 'dynamic' => ['active' => true], 'label_block' => true, ] ); $repeater->add_control( 'author_position', [ 'label' => esc_html__('Author Position', 'wuko-core'), 'type' => Controls_Manager::TEXT, 'dynamic' => ['active' => true], 'label_block' => true, ] ); $repeater->add_control( 'title', [ 'label' => esc_html__('Title', 'wuko-core'), 'type' => Controls_Manager::TEXT, 'dynamic' => ['active' => true], 'label_block' => true, 'placeholder' => esc_html__('Your Title', 'wuko-core'), ] ); $repeater->add_control( 'subtitle', [ 'label' => esc_html__('Subtitle', 'wuko-core'), 'type' => Controls_Manager::TEXT, 'dynamic' => ['active' => true], 'label_block' => true, 'placeholder' => esc_html__('Your Subtitle', 'wuko-core'), ] ); $repeater->add_control( 'quote_rating', [ 'label' => esc_html__( 'Rating', 'wuko-core' ), 'type' => Controls_Manager::SELECT, 'options' => [ '' => esc_html__( 'None', 'wuko-core' ), 1 => esc_html__( '1 star', 'wuko-core' ), 2 => esc_html__( '2 stars', 'wuko-core' ), 3 => esc_html__( '3 stars', 'wuko-core' ), 4 => esc_html__( '4 stars', 'wuko-core' ), 5 => esc_html__( '5 stars', 'wuko-core' ), ], 'default' => '', ] ); $repeater->add_control( 'quote', [ 'label' => esc_html__('Quote', 'wuko-core'), 'type' => Controls_Manager::WYSIWYG, 'dynamic' => ['active' => true], 'label_block' => true, 'placeholder' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipisicing elit.', 'wuko-core'), 'default' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec molestie.', 'wuko-core'), ] ); $repeater->add_control( 'image_items', [ 'label' => esc_html__('Image', 'wuko-core'), 'description' => esc_html__('This option works only if "Layout - Left" is selected', 'wuko-core'), 'type' => Controls_Manager::MEDIA, 'separator' => 'after', 'dynamic' => ['active' => true], 'label_block' => true, ] ); WGL_Cursor::init( $repeater, [ 'section' => false, 'repeater' => true, ] ); $this->add_control( 'items', [ 'label' => esc_html__('Items', 'wuko-core'), 'type' => Controls_Manager::REPEATER, 'default' => [ [ 'author_name' => esc_html__('Christian Grant', 'wuko-core'), 'author_position' => esc_html__('Company Client', 'wuko-core'), ], [ 'author_name' => esc_html__('Matey Grant', 'wuko-core'), 'author_position' => esc_html__('Company Client', 'wuko-core'), ], [ 'author_name' => esc_html__('Marry Parton', 'wuko-core'), 'author_position' => esc_html__('Company Client', 'wuko-core'), ], [ 'author_name' => esc_html__('Luis Vireon', 'wuko-core'), 'author_position' => esc_html__('Company Client', 'wuko-core'), ], ], 'fields' => $repeater->get_controls(), 'title_field' => '{{{ author_name }}}', ] ); $this->add_control( 'layout', [ 'label' => esc_html__('Layout', 'wuko-core'), 'type' => 'wgl-radio-image', 'options' => [ 'top_block' => [ 'title' => esc_html__('Top', 'wuko-core'), 'image' => WGL_EXTENSIONS_ELEMENTOR_URL . 'assets/img/wgl_elementor_addon/icons/testimonials_1.png', ], 'bottom_block' => [ 'title' => esc_html__('Bottom', 'wuko-core'), 'image' => WGL_EXTENSIONS_ELEMENTOR_URL . 'assets/img/wgl_elementor_addon/icons/testimonials_4.png', ], 'top_inline' => [ 'title' => esc_html__('Top Inline', 'wuko-core'), 'image' => WGL_EXTENSIONS_ELEMENTOR_URL . 'assets/img/wgl_elementor_addon/icons/testimonials_2.png', ], 'bottom_inline' => [ 'title' => esc_html__('Bottom Inline', 'wuko-core'), 'image' => WGL_EXTENSIONS_ELEMENTOR_URL . 'assets/img/wgl_elementor_addon/icons/testimonials_3.png', ], 'left_inline' => [ 'title' => esc_html__('Left Inline', 'wuko-core'), 'image' => WGL_EXTENSIONS_ELEMENTOR_URL . 'assets/img/wgl_elementor_addon/icons/testimonials_5.png', ], 'left_block' => [ 'title' => esc_html__('Left', 'wuko-core'), 'image' => WGL_EXTENSIONS_ELEMENTOR_URL . 'assets/img/wgl_elementor_addon/icons/testimonials_6.png', ], ], 'default' => 'bottom_inline', ] ); $this->add_responsive_control( 'alignment', [ 'label' => esc_html__('Alignment', 'wuko-core'), 'type' => Controls_Manager::CHOOSE, 'toggle' => false, 'devices' => [ 'desktop', 'tablet', 'mobile' ], 'options' => [ 'left' => [ 'title' => esc_html__('Left', 'wuko-core'), 'icon' => 'eicon-text-align-left', ], 'center' => [ 'title' => esc_html__('Center', 'wuko-core'), 'icon' => 'eicon-text-align-center', ], 'right' => [ 'title' => esc_html__('Right', 'wuko-core'), 'icon' => 'eicon-text-align-right', ], ], 'prefix_class' => 'a%s', 'default' => 'left', ] ); $this->add_responsive_control( 'author_alignment', [ 'label' => esc_html__('Author Alignment', 'wuko-core'), 'type' => Controls_Manager::CHOOSE, 'toggle' => false, 'options' => [ '' => [ 'title' => esc_html__('None', 'wuko-core'), 'icon' => 'eicon-editor-close', ], 'align-items: flex-start' => [ 'title' => esc_html__('Left', 'wuko-core'), 'icon' => 'eicon-text-align-left', ], 'align-items: center' => [ 'title' => esc_html__('Center', 'wuko-core'), 'icon' => 'eicon-text-align-center', ], 'align-items: flex-end' => [ 'title' => esc_html__('Right', 'wuko-core'), 'icon' => 'eicon-text-align-right', ], ], 'default' => 'align-items: flex-start', 'selectors' => [ '{{WRAPPER}} .author__meta, {{WRAPPER}} .type-left_block .item__image_wrapper' => '{{VALUE}}', ], ] ); $this->add_responsive_control( 'equal_height', [ 'label' => esc_html__('Equal Height', 'wuko-core'), 'type' => Controls_Manager::SWITCHER, 'devices' => [ 'desktop', 'tablet', 'mobile' ], 'prefix_class' => 'equal_height%s-', ] ); $this->add_control( 'hover_animation', [ 'label' => esc_html__('Enable Hover Animation', 'wuko-core'), 'type' => Controls_Manager::SWITCHER, 'description' => esc_html__('Lift up the item on hover.', 'wuko-core'), ] ); $this->end_controls_section(); /** * CONTENT -> CAROUSEL OPTIONS */ WGL_Carousel_Settings::add_controls($this, [ 'use_carousel' => [ 'default' => 'yes' ], 'use_navigation' => [ 'default' => '' ], 'use_pagination' => [ 'default' => 'yes' ], 'slider_alignment_v' => [ 'default' => 'center' ], '3d_animation_options' => 'enabled', 'animation_style' => [ 'default' => 'default' ], 'slide_per_single' => [ 'default' => 'yes' ], 'slider_infinite' => [ 'default' => 'yes' ], 'pagination_align' => [ 'default' => 'right' ], 'pagination_margin' => [ 'default' => [ 'top' => '-55', 'right' => '0', 'bottom' => '0', 'left' => '0', 'unit' => 'px', 'isLinked' => false ], ], 'variable_width_height' => [ 'condition' => [ 'hide_option' => 'yes' ], ], ]); /** * STYLE -> ITEM CONTAINER */ $this->start_controls_section( 'style_item_container', [ 'label' => esc_html__('Item Container', 'wuko-core'), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_responsive_control( 'item_gap', [ 'label' => esc_html__('Items Gap', 'wuko-core'), 'type' => Controls_Manager::SLIDER, 'dynamic' => ['active' => true], 'range' => [ 'px' => ['min' => 0, 'max' => 100] ], 'size_units' => ['px', 'custom'], 'default' => ['size' => 30, 'unit' => 'px'], 'selectors' => [ '{{WRAPPER}} .wgl-testimonials' => '--wgl-gap: {{SIZE}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'item_margin', [ 'label' => esc_html__('Margin', 'wuko-core'), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', 'custom'], 'allowed_dimensions' => 'vertical', 'selectors' => [ '{{WRAPPER}} .testimonial__item' => 'margin-top: {{TOP}}{{UNIT}}; margin-bottom: {{BOTTOM}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'item_padding', [ 'label' => esc_html__('Padding', 'wuko-core'), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', 'em', '%', 'custom'], 'selectors' => [ '{{WRAPPER}} .testimonial__item' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'item_radius', [ 'label' => esc_html__('Border Radius', 'wuko-core'), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'custom'], 'selectors' => [ '{{WRAPPER}} .testimonial__item' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_group_control( Group_Control_Background::get_type(), [ 'name' => 'item_bg', 'fields_options' => [ 'color' => [ 'label' => esc_html__( 'Background Color', 'wuko-core' ) ], 'image' => [ 'label' => esc_html__( 'Background Image', 'wuko-core' ) ], ], 'selector' => '{{WRAPPER}} .testimonial__item', ] ); $this->add_group_control( Group_Control_Border::get_type(), [ 'name' => 'item_border', 'fields_options' => [ 'border' => [ 'default' => '' ], 'width' => [ 'label' => esc_html__( 'Border Width', 'wuko-core' ), 'default' => [ 'top' => '1', 'right' => '1', 'bottom' => '1', 'left' => '1', 'unit' => 'px', 'isLinked' => true ], ], 'color' => [ 'label' => esc_html__( 'Border Color', 'wuko-core' ), 'default' => WGL_Globals::get_comments_form_border() ], ], 'selector' => '{{WRAPPER}} .testimonial__item', ] ); $this->add_group_control( Group_Control_Box_Shadow::get_type(), [ 'name' => 'item_shadow', 'selector' => '{{WRAPPER}} .testimonial__item', ] ); $this->add_control( 'item_blur', [ 'label' => esc_html__('Background Blur', 'wuko-core'), 'type' => Controls_Manager::SLIDER, 'dynamic' => ['active' => true], 'range' => [ 'px' => ['max' => 30, 'step' => 0.5], ], 'selectors' => [ '{{WRAPPER}} .testimonial__item' => 'backdrop-filter: blur({{SIZE}}px);-webkit-backdrop-filter: blur({{SIZE}}px);', ], ] ); $this->end_controls_section(); /** * STYLE -> TITLE */ $this->start_controls_section( 'style_title', [ 'label' => esc_html__('Title', 'wuko-core'), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_group_control( Group_Control_Typography::get_type(), [ 'name' => 'custom_fonts_title', 'selector' => '{{WRAPPER}} .item__title', ] ); $this->add_control( 'title_tag', [ 'label' => esc_html__('Title tag', 'wuko-core'), 'type' => Controls_Manager::SELECT, 'options' => [ 'h1' => esc_html('‹h1›'), 'h2' => esc_html('‹h2›'), 'h3' => esc_html('‹h3›'), 'h4' => esc_html('‹h4›'), 'h5' => esc_html('‹h5›'), 'h6' => esc_html('‹h6›'), 'span' => esc_html('‹span›'), 'div' => esc_html('‹div›'), ], 'default' => 'span', ] ); $this->add_control( 'title_font_family', [ 'label' => esc_html__('Theme Font Family', 'wuko-core'), 'type' => Controls_Manager::SELECT, 'options' => [ '' => esc_html__('Default', 'wuko-core'), 'header' => esc_html__('Headings Font', 'wuko-core'), 'content' => esc_html__('Content Font', 'wuko-core'), 'additional' => esc_html__('Additional Font', 'wuko-core'), ], 'selectors' => [ '{{WRAPPER}} .item__title' => 'font-family: var(--wuko-{{VALUE}}-font-family);', ], ] ); $this->add_responsive_control( 'title_width', [ 'label' => esc_html__('Title Wrapper Width', 'wuko-core'), 'type' => Controls_Manager::SLIDER, 'dynamic' => ['active' => true], 'size_units' => ['px', 'em', '%', 'custom'], 'range' => [ 'px' => ['min' => 50, 'max' => 1200 ], '%' => ['min' => 5, 'max' => 100 ], ], 'selectors' => [ '{{WRAPPER}} .item__title' => 'max-width: {{SIZE}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'title_margin', [ 'label' => esc_html__('Margin', 'wuko-core'), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', 'em', '%', 'custom'], 'selectors' => [ '{{WRAPPER}} .item__title' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'title_padding', [ 'label' => esc_html__('Padding', 'wuko-core'), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', 'em', '%', 'custom'], 'selectors' => [ '{{WRAPPER}} .item__title' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_group_control( Group_Control_Border::get_type(), [ 'name' => 'title_border', 'fields_options' => [ 'width' => [ 'label' => esc_html__( 'Border Width', 'wuko-core' ) ], ], 'selector' => '{{WRAPPER}} .item__title', ] ); $this->add_responsive_control( 'title_radius', [ 'label' => esc_html__('Border Radius', 'wuko-core'), 'type' => Controls_Manager::DIMENSIONS, 'condition' => ['title_icon_enabled!' => ''], 'size_units' => ['px', 'em', '%', 'custom'], 'selectors' => [ '{{WRAPPER}} .item__title' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_control( 'title_color', [ 'label' => esc_html__('Title Color', 'wuko-core'), 'type' => Controls_Manager::COLOR, 'dynamic' => ['active' => true], 'selectors' => [ '{{WRAPPER}} .item__title' => 'color: {{VALUE}};', ], ] ); $this->add_control( 'title_bg_color', [ 'label' => esc_html__('Title Background Color', 'wuko-core'), 'type' => Controls_Manager::COLOR, 'dynamic' => ['active' => true], 'selectors' => [ '{{WRAPPER}} .item__title' => 'background-color: {{VALUE}};', ], ] ); $this->end_controls_section(); /** * STYLE -> ICON */ $this->start_controls_section( 'style_title_icon', [ 'label' => esc_html__('Icon', 'wuko-core'), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_control( 'title_icon_enabled', [ 'label' => esc_html__('Use Icon', 'wuko-core'), 'type' => Controls_Manager::SWITCHER, 'render_type' => 'template', 'prefix_class' => 'icon-', 'default' => '', ] ); $this->add_control( 'title_icon_display', [ 'label' => esc_html__( 'Display', 'wuko-core' ), 'type' => Controls_Manager::SELECT, 'render_type' => 'template', 'condition' => ['title_icon_enabled!' => ''], 'options' => [ 'title' => esc_html__( 'With Title', 'wuko-core' ), 'block' => esc_html__( 'Top', 'wuko-core' ), ], 'default' => 'block', 'prefix_class' => 'icon-', ] ); $this->add_responsive_control( 'title_icon_size', [ 'label' => esc_html__('Icon Size', 'wuko-core'), 'type' => Controls_Manager::SLIDER, 'dynamic' => ['active' => true], 'condition' => ['title_icon_enabled!' => ''], 'range' => [ 'px' => ['min' => 10, 'max' => 200], ], 'selectors' => [ '{{WRAPPER}} .testimonial__item .item__icon' => 'font-size: {{SIZE}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'icon_margin', [ 'label' => esc_html__('Margin', 'wuko-core'), 'type' => Controls_Manager::DIMENSIONS, 'condition' => ['title_icon_enabled!' => ''], 'size_units' => ['px', 'em', '%', 'custom'], 'selectors' => [ '{{WRAPPER}} .testimonial__item .item__icon' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'icon_padding', [ 'label' => esc_html__('Padding', 'wuko-core'), 'type' => Controls_Manager::DIMENSIONS, 'condition' => ['title_icon_enabled!' => ''], 'size_units' => ['px', 'em', '%', 'custom'], 'selectors' => [ '{{WRAPPER}} .testimonial__item .item__icon' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'icon_radius', [ 'label' => esc_html__('Border Radius', 'wuko-core'), 'type' => Controls_Manager::DIMENSIONS, 'condition' => ['title_icon_enabled!' => ''], 'size_units' => ['px', 'em', '%', 'custom'], 'selectors' => [ '{{WRAPPER}} .testimonial__item .item__icon' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_control( 'title_icon_color', [ 'label' => esc_html__('Icon Color', 'wuko-core'), 'type' => Controls_Manager::COLOR, 'dynamic' => ['active' => true], 'condition' => ['title_icon_enabled!' => ''], 'selectors' => [ '{{WRAPPER}} .testimonial__item .item__icon' => 'color: {{VALUE}};', ], ] ); $this->add_control( 'title_icon_bg', [ 'label' => esc_html__('Background Color', 'wuko-core'), 'type' => Controls_Manager::COLOR, 'dynamic' => ['active' => true], 'condition' => ['title_icon_enabled!' => ''], 'selectors' => [ '{{WRAPPER}} .testimonial__item .item__icon' => 'background-color: {{VALUE}};', ], ] ); $this->end_controls_section(); /** * STYLE -> QUOTE */ $this->start_controls_section( 'style_quote', [ 'label' => esc_html__('Quote', 'wuko-core'), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_group_control( Group_Control_Typography::get_type(), [ 'name' => 'custom_fonts_quote', 'fields_options' => [ 'typography' => [ 'default' => 'yes' ], 'font_size' => [ 'default' => [ 'size' => 'clamp(20px, 2.2vw, 32px)', 'unit' => 'custom' ], ], 'font_weight' => [ 'default' => 300 ], 'line_height' => ['default' => ['size' => 1.4375, 'unit' => 'em']], 'letter_spacing' => ['default' => ['size' => -0.02, 'unit' => 'em']], ], 'selector' => '{{WRAPPER}} .item__quote', ] ); $this->add_control( 'quote_tag', [ 'label' => esc_html__('Quote tag', 'wuko-core'), 'type' => Controls_Manager::SELECT, 'options' => [ 'h1' => esc_html('‹h1›'), 'h2' => esc_html('‹h2›'), 'h3' => esc_html('‹h3›'), 'h4' => esc_html('‹h4›'), 'h5' => esc_html('‹h5›'), 'h6' => esc_html('‹h6›'), 'span' => esc_html('‹span›'), 'div' => esc_html('‹div›'), ], 'default' => 'div', ] ); $this->add_responsive_control( 'quote_margin', [ 'label' => esc_html__('Margin', 'wuko-core'), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', 'em', '%', 'custom'], 'selectors' => [ '{{WRAPPER}} .item__quote' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'quote_padding', [ 'label' => esc_html__('Padding', 'wuko-core'), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', 'em', '%', 'custom'], 'default' => [ 'top' => '0', 'right' => '0', 'bottom' => '39', 'left' => '0', 'unit' => 'px', 'isLinked' => false ], 'selectors' => [ '{{WRAPPER}} .item__quote' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_group_control( Group_Control_Border::get_type(), [ 'name' => 'quote_border', 'fields_options' => [ 'border' => [ 'default' => 'solid' ], 'width' => [ 'label' => esc_html__( 'Border Width', 'wuko-core' ), 'default' => [ 'top' => 0, 'right' => 0, 'bottom' => 1, 'left' => 0, ], ], 'color' => [ 'label' => esc_html__( 'Border Color', 'wuko-core' ), 'default' => WGL_Globals::get_secondary_color(), ], ], 'selector' => '{{WRAPPER}} .item__quote', ] ); $this->add_responsive_control( 'quote_radius', [ 'label' => esc_html__('Border Radius', 'wuko-core'), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', 'em', '%', 'custom'], 'selectors' => [ '{{WRAPPER}} .item__quote' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_control( 'quote_color', [ 'label' => esc_html__('Text Color', 'wuko-core'), 'type' => Controls_Manager::COLOR, 'dynamic' => ['active' => true], 'default' => WGL_Globals::get_h_font_color(), 'selectors' => [ '{{WRAPPER}} .item__quote' => 'color: {{VALUE}};', ], ] ); $this->add_control( 'quote_bg', [ 'label' => esc_html__('Background Color', 'wuko-core'), 'type' => Controls_Manager::COLOR, 'dynamic' => ['active' => true], 'selectors' => [ '{{WRAPPER}} .item__quote' => 'background-color: {{VALUE}};', ], ] ); $this->end_controls_section(); /** * STYLE -> AUTHOR BLOCK */ $this->start_controls_section( 'style_author', [ 'label' => esc_html__('Author Block', 'wuko-core'), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_responsive_control( 'author_margin', [ 'label' => esc_html__('Margin', 'wuko-core'), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', 'em', '%', 'custom'], 'selectors' => [ '{{WRAPPER}} .item__author' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->end_controls_section(); /** * STYLE -> AUTHOR THUMBNAIL */ $this->start_controls_section( 'style_thumnail', [ 'label' => esc_html__('Author Thumbnail', 'wuko-core'), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_responsive_control( 'thumbnail_size', [ 'label' => esc_html__('Thumbnail Width', 'wuko-core'), 'type' => Controls_Manager::SLIDER, 'dynamic' => ['active' => true], 'frontend_available' => true, 'range' => [ 'px' => ['min' => 20, 'max' => 400], ], 'default' => ['size' => 82], 'mobile_default' => ['size' => 70], 'selectors' => [ '{{WRAPPER}} .author__thumbnail' => '--thumbnail-width: {{SIZE}};', ], ] ); $this->add_responsive_control( 'thumbnail_not_active_size', [ 'label' => esc_html__('Not Active Thumbnail Width', 'wuko-core'), 'type' => Controls_Manager::SLIDER, 'dynamic' => ['active' => true], 'frontend_available' => true, 'range' => [ 'px' => ['min' => 20, 'max' => 400], ], 'selectors' => [ '{{WRAPPER}} .author__thumbnail' => '--thumbnail-not-active-width: {{SIZE}};', ], ] ); $this->add_responsive_control( 'thumbnail_margin', [ 'label' => esc_html__('Margin', 'wuko-core'), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', 'em', '%', 'custom'], 'selectors' => [ '{{WRAPPER}} .author__thumbnail' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'thumbnail_radius', [ 'label' => esc_html__('Border Radius', 'wuko-core'), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'custom'], 'default' => [ 'top' => '50', 'right' => '50', 'bottom' => '50', 'left' => '50', 'unit' => 'px', 'isLinked' => false ], 'selectors' => [ '{{WRAPPER}} .author__thumbnail, {{WRAPPER}} .author__thumbnail img' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_group_control( Group_Control_Border::get_type(), [ 'name' => 'thumbnail_border', 'fields_options' => [ 'width' => [ 'label' => esc_html__( 'Border Width', 'wuko-core' ) ], 'color' => [ 'type' => Controls_Manager::HIDDEN ], ], 'selector' => '{{WRAPPER}} .author__thumbnail', ] ); $this->add_group_control( Group_Control_Box_Shadow::get_type(), [ 'name' => 'testimonials_thumbnail_shadow', 'selector' => '{{WRAPPER}} .author__thumbnail', ] ); $this->start_controls_tabs('thumbnail_tabs'); $this->start_controls_tab( 'tab_thumbnail_idle', ['label' => esc_html__('Idle', 'wuko-core')] ); $this->add_control( 'thumbnail_bg_color_idle', [ 'label' => esc_html__( 'Background Color', 'wuko-core' ), 'type' => Controls_Manager::COLOR, 'dynamic' => ['active' => true], 'selectors' => [ '{{WRAPPER}} .author__thumbnail' => 'background-color: {{VALUE}};', ], ] ); $this->add_control( 'thumbnail_border_color_idle', [ 'label' => esc_html__( 'Border Color', 'wuko-core' ), 'type' => Controls_Manager::COLOR, 'dynamic' => ['active' => true], 'condition' => [ 'thumbnail_border_border!' => ['', 'none'] ], 'selectors' => [ '{{WRAPPER}} .author__thumbnail' => 'border-color: {{VALUE}};', ], ] ); $this->add_control( 'testimonials_triangle_color_idle', [ 'label' => esc_html__( 'Triangle Color', 'wuko-core' ), 'type' => Controls_Manager::COLOR, 'dynamic' => ['active' => true], 'condition' => [ 'testimonials_triangle_enabled!' => '' ], 'selectors' => [ '{{WRAPPER}} .author__thumbnail::before' => 'color: {{VALUE}};', ], ] ); $this->add_control( 'testimonials_additional_color_idle', [ 'label' => esc_html__( 'Additional Color', 'wuko-core' ), 'type' => Controls_Manager::COLOR, 'dynamic' => ['active' => true], 'condition' => [ 'layout' => 'left_block' ], 'selectors' => [ '{{WRAPPER}} .author__thumbnail::after' => 'background-color: {{VALUE}};', ], ] ); $this->end_controls_tab(); $this->start_controls_tab( 'tab_thumbnail_hover', ['label' => esc_html__('Hover', 'wuko-core')] ); $this->add_control( 'thumbnail_bg_color_hover', [ 'label' => esc_html__( 'Background Color', 'wuko-core' ), 'type' => Controls_Manager::COLOR, 'dynamic' => ['active' => true], 'selectors' => [ '{{WRAPPER}} .testimonials__wrapper:hover .author__thumbnail, {{WRAPPER}} .swiper-slide.swiper-slide-active .author__thumbnail' => 'background-color: {{VALUE}};', ], ] ); $this->add_control( 'thumbnail_border_color_hover', [ 'label' => esc_html__( 'Border Color', 'wuko-core' ), 'type' => Controls_Manager::COLOR, 'dynamic' => ['active' => true], 'condition' => [ 'thumbnail_border_border!' => ['', 'none'] ], 'selectors' => [ '{{WRAPPER}} .testimonials__wrapper:hover .author__thumbnail, {{WRAPPER}} .swiper-slide.swiper-slide-active .author__thumbnail' => 'border-color: {{VALUE}};', ], ] ); $this->add_control( 'testimonials_additional_color_hover', [ 'label' => esc_html__( 'Additional Color', 'wuko-core' ), 'type' => Controls_Manager::COLOR, 'dynamic' => ['active' => true], 'condition' => [ 'layout' => 'left_block' ], 'selectors' => [ '{{WRAPPER}} .testimonials__wrapper:hover .author__thumbnail::after' => 'background-color: {{VALUE}};', ], ] ); $this->end_controls_tab(); $this->end_controls_tabs(); $this->end_controls_section(); /** * STYLE -> AUTHOR NAME */ $this->start_controls_section( 'style_name', [ 'label' => esc_html__('Author Name', 'wuko-core'), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_group_control( Group_Control_Typography::get_type(), [ 'name' => 'custom_fonts_name', 'selector' => '{{WRAPPER}} .author__name', ] ); $this->add_control( 'name_tag', [ 'label' => esc_html__('HTML tag', 'wuko-core'), 'type' => Controls_Manager::SELECT, 'options' => [ 'h1' => esc_html('‹h1›'), 'h2' => esc_html('‹h2›'), 'h3' => esc_html('‹h3›'), 'h4' => esc_html('‹h4›'), 'h5' => esc_html('‹h5›'), 'h6' => esc_html('‹h6›'), 'div' => esc_html('‹div›'), 'span' => esc_html('‹span›'), ], 'default' => 'h3', ] ); $this->add_control( 'name_font_family', [ 'label' => esc_html__('Theme Font Family', 'wuko-core'), 'type' => Controls_Manager::SELECT, 'options' => [ '' => esc_html__('Default', 'wuko-core'), 'header' => esc_html__('Headings Font', 'wuko-core'), 'content' => esc_html__('Content Font', 'wuko-core'), 'additional' => esc_html__('Additional Font', 'wuko-core'), ], 'selectors' => [ '{{WRAPPER}} .author__name' => 'font-family: var(--wuko-{{VALUE}}-font-family);', ], ] ); $this->add_responsive_control( 'name_padding', [ 'label' => esc_html__('Padding', 'wuko-core'), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', 'em', '%', 'custom'], 'selectors' => [ '{{WRAPPER}} .author__name' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->start_controls_tabs('name_colors'); $this->start_controls_tab( 'tab_name_idle', ['label' => esc_html__('Idle', 'wuko-core')] ); $this->add_control( 'name_color_idle', [ 'label' => esc_html__('Text Color', 'wuko-core'), 'type' => Controls_Manager::COLOR, 'dynamic' => ['active' => true], 'selectors' => [ '{{WRAPPER}} .author__name' => 'color: {{VALUE}};', ], ] ); $this->end_controls_tab(); $this->start_controls_tab( 'tab_name_hover', ['label' => esc_html__('Hover', 'wuko-core')] ); $this->add_control( 'name_color_hover', [ 'label' => esc_html__('Text Color', 'wuko-core'), 'type' => Controls_Manager::COLOR, 'dynamic' => ['active' => true], 'selectors' => [ '{{WRAPPER}} .author__name:hover' => 'color: {{VALUE}};', ], ] ); $this->end_controls_tab(); $this->end_controls_tabs(); $this->end_controls_section(); /** * STYLE -> AUTHOR POSITION */ $this->start_controls_section( 'style_position', [ 'label' => esc_html__('Author Position', 'wuko-core'), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_group_control( Group_Control_Typography::get_type(), [ 'name' => 'custom_fonts_position', 'selector' => '{{WRAPPER}} .author__position', ] ); $this->add_control( 'position_tag', [ 'label' => esc_html__('HTML tag', 'wuko-core'), 'type' => Controls_Manager::SELECT, 'default' => 'span', 'options' => [ 'h1' => esc_html('‹h1›'), 'h2' => esc_html('‹h2›'), 'h3' => esc_html('‹h3›'), 'h4' => esc_html('‹h4›'), 'h5' => esc_html('‹h5›'), 'h6' => esc_html('‹h6›'), 'div' => esc_html('‹div›'), 'span' => esc_html('‹span›'), ], ] ); $this->add_control( 'position_font_family', [ 'label' => esc_html__('Theme Font Family', 'wuko-core'), 'type' => Controls_Manager::SELECT, 'options' => [ '' => esc_html__('Default', 'wuko-core'), 'header' => esc_html__('Headings Font', 'wuko-core'), 'content' => esc_html__('Content Font', 'wuko-core'), 'additional' => esc_html__('Additional Font', 'wuko-core'), ], 'selectors' => [ '{{WRAPPER}} .author__position' => 'font-family: var(--wuko-{{VALUE}}-font-family);', ], ] ); $this->add_responsive_control( 'position_margin', [ 'label' => esc_html__('Margin', 'wuko-core'), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', 'em', '%', 'custom'], 'selectors' => [ '{{WRAPPER}} .author__position_wrapper' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'position_padding', [ 'label' => esc_html__('Padding', 'wuko-core'), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', 'em', '%', 'custom'], 'selectors' => [ '{{WRAPPER}} .author__position' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'position_radius', [ 'label' => esc_html__('Border Radius', 'wuko-core'), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'custom'], 'selectors' => [ '{{WRAPPER}} .author__position' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_group_control( Group_Control_Border::get_type(), [ 'name' => 'position_border', 'selector' => '{{WRAPPER}} .author__position', ] ); $this->start_controls_tabs('position_tabs'); $this->start_controls_tab( 'position_tab_idle', ['label' => esc_html__('Idle', 'wuko-core')] ); $this->add_control( 'position_color', [ 'label' => esc_html__('Text Color', 'wuko-core'), 'type' => Controls_Manager::COLOR, 'dynamic' => ['active' => true], 'selectors' => [ '{{WRAPPER}} .author__position' => 'color: {{VALUE}};', ], ] ); $this->add_control( 'position_bg_color', [ 'label' => esc_html__('Background Color', 'wuko-core'), 'type' => Controls_Manager::COLOR, 'dynamic' => ['active' => true], 'selectors' => [ '{{WRAPPER}} .author__position' => 'background-color: {{VALUE}};', ], ] ); $this->add_control( 'position_border_color_idle', [ 'label' => esc_html__( 'Border Color', 'wuko-core' ), 'type' => Controls_Manager::COLOR, 'dynamic' => ['active' => true], 'condition' => [ 'position_border_border!' => ['', 'none'] ], 'selectors' => [ '{{WRAPPER}} .author__position' => 'border-color: {{VALUE}};', ], ] ); $this->end_controls_tab(); $this->start_controls_tab( 'position_tab_hover', ['label' => esc_html__('Hover', 'wuko-core')] ); $this->add_control( 'position_color_hover', [ 'label' => esc_html__('Text Color', 'wuko-core'), 'type' => Controls_Manager::COLOR, 'dynamic' => ['active' => true], 'selectors' => [ '{{WRAPPER}} .testimonials__wrapper:hover .author__position' => 'color: {{VALUE}};', ], ] ); $this->add_control( 'position_bg_color_hover', [ 'label' => esc_html__('Background Color', 'wuko-core'), 'type' => Controls_Manager::COLOR, 'dynamic' => ['active' => true], 'selectors' => [ '{{WRAPPER}} .testimonials__wrapper:hover .author__position' => 'background-color: {{VALUE}};', ], ] ); $this->add_control( 'position_border_color_hover', [ 'label' => esc_html__( 'Border Color', 'wuko-core' ), 'type' => Controls_Manager::COLOR, 'dynamic' => ['active' => true], 'condition' => [ 'position_border_border!' => ['', 'none'] ], 'selectors' => [ '{{WRAPPER}} .testimonials__wrapper:hover .author__position' => 'border-color: {{VALUE}};', ], ] ); $this->end_controls_tab(); $this->end_controls_tabs(); $this->end_controls_section(); /** * STYLE -> AUTHOR SUBTITLE */ $this->start_controls_section( 'style_subtitle', [ 'label' => esc_html__('Author Subtitle', 'wuko-core'), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_group_control( Group_Control_Typography::get_type(), [ 'name' => 'custom_fonts_subtitle', 'selector' => '{{WRAPPER}} .item__subtitle', ] ); $this->add_control( 'subtitle_font_family', [ 'label' => esc_html__('Theme Font Family', 'wuko-core'), 'type' => Controls_Manager::SELECT, 'options' => [ '' => esc_html__('Default', 'wuko-core'), 'header' => esc_html__('Headings Font', 'wuko-core'), 'content' => esc_html__('Content Font', 'wuko-core'), 'additional' => esc_html__('Additional Font', 'wuko-core'), ], 'selectors' => [ '{{WRAPPER}} .item__subtitle' => 'font-family: var(--wuko-{{VALUE}}-font-family);', ], ] ); $this->add_responsive_control( 'subtitle_margin', [ 'label' => esc_html__('Margin', 'wuko-core'), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', 'em', '%', 'custom'], 'selectors' => [ '{{WRAPPER}} .item__subtitle' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->start_controls_tabs('subtitle_tabs'); $this->start_controls_tab( 'subtitle_tab_idle', ['label' => esc_html__('Idle', 'wuko-core')] ); $this->add_control( 'subtitle_color', [ 'label' => esc_html__('Text Color', 'wuko-core'), 'type' => Controls_Manager::COLOR, 'dynamic' => ['active' => true], 'selectors' => [ '{{WRAPPER}} .item__subtitle' => 'color: {{VALUE}};', ], ] ); $this->end_controls_tab(); $this->start_controls_tab( 'subtitle_tab_hover', ['label' => esc_html__('Hover', 'wuko-core')] ); $this->add_control( 'subtitle_color_hover', [ 'label' => esc_html__('Text Color', 'wuko-core'), 'type' => Controls_Manager::COLOR, 'dynamic' => ['active' => true], 'selectors' => [ '{{WRAPPER}} .testimonials__wrapper:hover .item__subtitle' => 'color: {{VALUE}};', ], ] ); $this->end_controls_tab(); $this->end_controls_tabs(); $this->end_controls_section(); /** STYLE -> RATING */ $this->start_controls_section( 'style_rating', [ 'label' => esc_html__( 'Rating', 'wuko-core' ), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_group_control( Group_Control_Typography::get_type(), [ 'name' => 'rating_typography', 'exclude' => [ 'font_family', 'text_transform', 'font_style', 'text_decoration', 'line_height' ], 'selector' => '{{WRAPPER}} .item__rating', ] ); $this->add_responsive_control( 'rating_margin', [ 'label' => esc_html__( 'Margin', 'wuko-core' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => [ 'px', 'em', '%' ], 'selectors' => [ '{{WRAPPER}} .item__rating' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_control( 'rating_filled_color', [ 'label' => esc_html__( 'Filled Stars Color', 'wuko-core' ), 'type' => Controls_Manager::COLOR, 'dynamic' => ['active' => true], 'selectors' => [ '{{WRAPPER}} .item__rating span::before' => 'color: {{VALUE}};', ], ] ); $this->add_control( 'rating_empty_color', [ 'label' => esc_html__( 'Empty Stars Color', 'wuko-core' ), 'type' => Controls_Manager::COLOR, 'dynamic' => ['active' => true], 'selectors' => [ '{{WRAPPER}} .item__rating::before' => 'color: {{VALUE}};', ], ] ); $this->end_controls_section(); /** STYLE -> IMAGE */ $this->start_controls_section( 'style_image', [ 'label' => esc_html__( 'Image', 'wuko-core' ), 'tab' => Controls_Manager::TAB_STYLE, 'condition' => ['layout' => 'left_block'], ] ); $this->add_control( 'image', [ 'label' => esc_html__('Image', 'wuko-core'), 'type' => Controls_Manager::MEDIA, 'dynamic' => ['active' => true], 'label_block' => true, 'default' => ['url' => Utils::get_placeholder_image_src()], ] ); $this->add_responsive_control( 'image_width', [ 'label' => esc_html__('Left/Right Block Width', 'wuko-core'), 'type' => Controls_Manager::SLIDER, 'dynamic' => ['active' => true], 'range' => [ 'px' => ['min' => 0, 'max' => 1000] ], 'size_units' => ['px', 'vw', 'custom'], 'default' => ['size' => 'clamp(300px, 34vw, 510px)', 'unit' => 'custom'], 'mobile_default' => ['size' => 'clamp(200px, 60vw, 450px)', 'unit' => 'custom'], 'selectors' => [ '{{WRAPPER}} .item__image, {{WRAPPER}} .item__author' => 'width: {{SIZE}}{{UNIT}}; height: {{SIZE}}{{UNIT}};', ], ] ); $this->add_control( 'image_responsive', [ 'label' => esc_html__( 'Hide Image on:', 'wuko-core' ), 'type' => Controls_Manager::NUMBER, 'dynamic' => ['active' => true], 'step' => 1, 'default' => 500, ] ); $this->add_responsive_control( 'image_radius', [ 'label' => esc_html__('Border Radius', 'wuko-core'), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'custom'], 'default' => [ 'top' => '500', 'right' => '500', 'bottom' => '500', 'left' => '500', 'unit' => 'px', 'isLinked' => true ], 'selectors' => [ '{{WRAPPER}} .item__image_wrapper img' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'left_size', [ 'label' => esc_html__('Left Side Size', 'wuko-core'), 'type' => Controls_Manager::SLIDER, 'dynamic' => ['active' => true], 'separator' => 'before', 'range' => [ 'px' => ['min' => 0, 'max' => 100] ], 'size_units' => ['px', '%', 'custom'], 'default' => ['size' => 55, 'unit' => '%'], 'mobile_default' => ['size' => 100, 'unit' => '%'], 'selectors' => [ '{{WRAPPER}} .item__image_wrapper' => 'width: {{SIZE}}{{UNIT}};', '{{WRAPPER}} .testimonial__item' => 'width: calc(100% - {{SIZE}}{{UNIT}});', '{{WRAPPER}} .testimonials__wrapper' => 'flex-wrap: wrap; align-items: center;', ], ] ); $this->add_responsive_control( 'right_size', [ 'label' => esc_html__('Right Side Size', 'wuko-core'), 'type' => Controls_Manager::SLIDER, 'dynamic' => ['active' => true], 'range' => [ 'px' => ['min' => 0, 'max' => 100] ], 'size_units' => ['px', '%', 'custom'], 'default' => ['unit' => '%'], 'mobile_default' => ['size' => 100, 'unit' => '%'], 'selectors' => [ '{{WRAPPER}} div.testimonial__item' => 'width: {{SIZE}}{{UNIT}};', ], ] ); $this->end_controls_section(); } protected function render() { (new Testimonials_Template())->render( $this, $this->get_settings_for_display() ); } public function wpml_support_module() { add_filter( 'wpml_elementor_widgets_to_translate', [$this, 'wpml_widgets_to_translate_filter']); } public function wpml_widgets_to_translate_filter( $widgets ){ return \WGL_Extensions\Includes\WGL_WPML_Settings::get_translate( $this, $widgets ); } }
Submit
FILE
FOLDER
Name
Size
Permission
Action
wgl-accordion-service.php
110791 bytes
0644
wgl-background-clip-text.php
21249 bytes
0644
wgl-blog.php
54012 bytes
0644
wgl-button-physics.php
48634 bytes
0644
wgl-button-widget.php
78290 bytes
0644
wgl-carousel.php
5648 bytes
0644
wgl-cases.php
174614 bytes
0644
wgl-circuit-service.php
21621 bytes
0644
wgl-clients.php
28542 bytes
0644
wgl-combo-menu.php
17440 bytes
0644
wgl-contact-form-7.php
64476 bytes
0644
wgl-countdown.php
19442 bytes
0644
wgl-counter.php
36515 bytes
0644
wgl-demo-item.php
33716 bytes
0644
wgl-double-heading.php
71788 bytes
0644
wgl-dynamic-title.php
11086 bytes
0644
wgl-flipbox.php
154999 bytes
0644
wgl-gallery.php
53821 bytes
0644
wgl-highlight-board.php
64418 bytes
0644
wgl-horizontal-scroll.php
25075 bytes
0644
wgl-image-animate.php
20947 bytes
0644
wgl-image-comparison.php
6032 bytes
0644
wgl-image-hotspots.php
52892 bytes
0644
wgl-image-layers.php
25243 bytes
0644
wgl-infinity-carousel.php
30821 bytes
0644
wgl-info-box.php
224793 bytes
0644
wgl-instagram.php
38631 bytes
0644
wgl-link-overlay.php
2495 bytes
0644
wgl-pie-chart.php
22332 bytes
0644
wgl-portfolio.php
115147 bytes
0644
wgl-pricing-table.php
209138 bytes
0644
wgl-products-categories.php
51718 bytes
0644
wgl-products-grid.php
79654 bytes
0644
wgl-progress-bar.php
30822 bytes
0644
wgl-rotated-text.php
22605 bytes
0644
wgl-satellite-service.php
35978 bytes
0644
wgl-showcase.php
208669 bytes
0644
wgl-social-icons.php
22240 bytes
0644
wgl-steps.php
48391 bytes
0644
wgl-striped-services.php
183259 bytes
0644
wgl-tabs-horizontal.php
42144 bytes
0644
wgl-tabs.php
53431 bytes
0644
wgl-team.php
36456 bytes
0644
wgl-template.php
8246 bytes
0644
wgl-testimonials.php
61375 bytes
0644
wgl-text-editor.php
55551 bytes
0644
wgl-text-path.php
41438 bytes
0644
wgl-time-line-horizontal.php
37694 bytes
0644
wgl-time-line-vertical.php
199396 bytes
0644
wgl-toggle-accordion.php
66819 bytes
0644
wgl-video-popup.php
30956 bytes
0644
wgl-working-hours.php
10870 bytes
0644
wgl-zoom.php
24854 bytes
0644
N4ST4R_ID | Naxtarrr