/home/techb158/l2hypotheques.com/wp-content/plugins/pyloncore/elementor/widgets
NameSizeModeActions
about-widget.php289680644editdlrm
accordion-widget.php220460644editdlrm
animation-shape.php67510644editdlrm
animation-shape1.php65540644editdlrm
banner-widget.php204140644editdlrm
blog-widget.php547100644editdlrm
button-widget.php136260644editdlrm
call-to-action-widget.php304090644editdlrm
client-logo-widget.php145070644editdlrm
company-ceo.php112890644editdlrm
contact-static-info-widget.php229250644editdlrm
content-list-widget.php294290644editdlrm
counter-box.php166590644editdlrm
credit-card-widget.php255640644editdlrm
custom-ripple-widget.php23110644editdlrm
featuredbox-widget.php433390644editdlrm
funfact-widget.php265270644editdlrm
iconbox-widget.php422820644editdlrm
image-float-widget.php40500644editdlrm
image-widget.php512460644editdlrm
image-with-title-widget.php131850644editdlrm
loan-calculator-widget.php567300644editdlrm
loan-combined-calculator-widget.php752660644editdlrm
loan-eligibility-widget.php243420644editdlrm
popup-widget.php175730644editdlrm
progress-widget.php155770644editdlrm
responsive-image-widget.php16720644editdlrm
service-widget.php600280644editdlrm
slider-widget.php496820644editdlrm
slider2-widget.php377820644editdlrm
team-two-widget.php196020644editdlrm
team-widget.php316220644editdlrm
testimonial-widget.php556460644editdlrm
title-widget.php289100644editdlrm
total-loan-calculator-widget.php547890644editdlrm
why-choose-us-widget.php101660644editdlrm
Edit: /home/techb158/l2hypotheques.com/wp-content/plugins/pyloncore/elementor/widgets/slider-widget.php (49682B)
start_controls_section( 'pylon_slider_options', [ 'label' => esc_html__( 'Pylon Slider', 'pyloncore' ), 'tab' => Controls_Manager::TAB_CONTENT, ] ); $repeater = new \Elementor\Repeater(); $repeater->add_control( 'pylon_slider_image', [ 'label' => esc_html__( 'Choose Image', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::MEDIA, 'default' => [ 'url' => \Elementor\Utils::get_placeholder_image_src(), ], ] ); $repeater->add_control( 'pylon_slider_small_title', [ 'label' => esc_html__( 'Small Title', 'pyloncore' ), 'type' => Controls_Manager::TEXTAREA, 'default' => esc_html__( 'Simple & Secure Payment Process', 'pyloncore' ), 'show_label' => true, ] ); $repeater->add_control( 'pylon_slider_title', [ 'label' => esc_html__( 'Title', 'pyloncore' ), 'type' => Controls_Manager::TEXTAREA, 'default' => esc_html__( 'Connecting All Your Loan Needs', 'pyloncore' ), 'show_label' => true, ] ); $repeater->add_control( 'pylon_slider_process_list', [ 'label' => esc_html__( 'List', 'pyloncore' ), 'type' => Controls_Manager::TEXTAREA, 'default' => esc_html__( 'Connecting All Your Loan Needs', 'pyloncore' ), 'show_label' => true, 'default' => wp_kses_post( '
  • Quick Payment Process
  • Loan Process
  • Safe & Secure Process
  • ', 'pyloncore' ), ] ); $repeater->add_control( 'pylon_slider_text_enable', [ 'label' => esc_html__( 'Show text style three ', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::SWITCHER, 'label_on' => esc_html__( 'Show', 'pyloncore' ), 'label_off' => esc_html__( 'Hide', 'pyloncore' ), 'return_value' => 'yes', 'default' => 'no', ] ); $repeater->add_control( 'pylon_slider_text', [ 'label' => esc_html__( 'Text', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::TEXTAREA, 'rows' => 5, 'default' => esc_html__( 'Leverage agile frameworks to provide a robust synopsis for high level overviews. Iterative approaches to collaborative .', 'pyloncore' ), 'placeholder' => esc_html__( 'Type your description here', 'pyloncore' ), 'condition' => [ 'pylon_slider_text_enable' => 'yes', ], ] ); $repeater->add_control( 'pylon_slider_btn_enable', [ 'label' => esc_html__( 'Button Enable', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::SWITCHER, 'label_on' => esc_html__( 'Show', 'pyloncore' ), 'label_off' => esc_html__( 'Hide', 'pyloncore' ), 'return_value' => 'yes', 'default' => 'yes', ] ); $repeater->add_control( 'pylon_slider_extral', [ 'label' => esc_html__( 'Link', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::URL, 'options' => [ 'url', 'is_external', 'nofollow' ], 'default' => [ 'url' => '', 'is_external' => true, 'nofollow' => true, // 'custom_attributes' => '', ], 'label_block' => true, ] ); $repeater->add_control( 'pylon_slider_btn_text', [ 'label' => esc_html__( 'Buttn Text', 'pyloncore' ), 'type' => Controls_Manager::TEXT, 'default' => esc_html__( 'Apply For Loan', 'pyloncore' ), 'label_block' => true, 'condition' => [ 'pylon_slider_btn_enable' => 'yes', ], ] ); $repeater->add_control( 'pylon_slider_btn2_enable', [ 'label' => esc_html__( 'Enable Button Two', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::SWITCHER, 'label_on' => esc_html__( 'Show', 'pyloncore' ), 'label_off' => esc_html__( 'Hide', 'pyloncore' ), 'return_value' => 'yes', 'default' => 'no', ] ); $repeater->add_control( 'pylon_slider2_extral', [ 'label' => esc_html__( 'Link', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::URL, 'options' => [ 'url', 'is_external', 'nofollow' ], 'default' => [ 'url' => '', 'is_external' => true, 'nofollow' => true, // 'custom_attributes' => '', ], 'label_block' => true, ] ); $repeater->add_control( 'pylon_slider_page2_link', [ 'label' => esc_html__( 'Page Link', 'pyloncore' ), 'type' => Controls_Manager::SELECT, 'options' => pylon_page_list(), 'label_block' => true, 'condition' => [ 'pylon_slider_btn2_links' => 'page', 'pylon_slider_btn2_enable' => 'yes', ], ] ); $repeater->add_control( 'pylon_slider_btn2_text', [ 'label' => esc_html__( 'Buttn Text', 'pyloncore' ), 'type' => Controls_Manager::TEXT, 'default' => esc_html__( 'Contact Now', 'pyloncore' ), 'label_block' => true, 'condition' => [ 'pylon_slider_btn2_enable' => 'yes', ], ] ); $this->add_control( 'pylon_sliders_style', [ 'label' => esc_html__('Slider Style','pyloncore'), 'type' => \Elementor\Controls_Manager::SELECT, 'options' => [ 'one' => esc_html__('Style One' ,'pyloncore'), 'two' => esc_html__('Style two' ,'pyloncore'), 'three' => esc_html__('Style three' ,'pyloncore'), ], 'default' => 'one' ] ); $this->add_control( 'pylon_sliders', [ 'label' => esc_html__( 'Slider List', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::REPEATER, 'fields' => $repeater->get_controls(), 'default' => [ [ 'pylon_slider_small_title' => esc_html__( 'Simple & Secure Payment Process', 'pyloncore' ), 'pylon_slider_title' => esc_html__( 'Connecting All Your Loan Needs', 'pyloncore' ), 'pylon_slider_btn_text' => esc_html__( 'Apply For Loan', 'pyloncore' ), ], ], ] ); $this->add_control( 'pylon_sliders_shape_image', [ 'label' => esc_html__( 'Choose Image', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::MEDIA, 'default' => [ 'url' => \Elementor\Utils::get_placeholder_image_src(), ], 'condition' => [ 'pylon_sliders_style' => 'three', ], ] ); $this->end_controls_section(); $this->start_controls_section( 'pylon_slider_confi', [ 'label' => esc_html__( 'Pylon Slider Options', 'pyloncore' ), 'tab' => Controls_Manager::TAB_CONTENT, ] ); $this->add_responsive_control( 'pylon_slider_col', [ 'label' => esc_html__( 'Select Column', 'pyloncore' ), 'type' => Controls_Manager::SLIDER, 'size_units' => ['px', '%'], 'range' => [ 'px' => [ 'min' => 4, 'max' => 12, 'step' => 1, ], ], 'default' => [ 'size' => 6, ], ] ); $this->add_responsive_control( 'pylon_slider_alignment', [ 'label' => esc_html__('Slider Alignment','pyloncore'), 'type' => \Elementor\Controls_Manager::CHOOSE, 'options' => [ 'left' => [ 'title' => esc_html__( 'Left', 'pyloncore' ), 'icon' => 'fa fa-align-left', ], 'center' => [ 'title' => esc_html__( 'Center', 'pyloncore' ), 'icon' => 'fa fa-align-center', ], 'right' => [ 'title' => esc_html__( 'Right', 'pyloncore' ), 'icon' => 'fa fa-align-right', ], ], 'default' => 'left', 'toggle' => true, ] ); $this->add_control( 'pylon_slider_loop', [ 'label' => esc_html__( 'Enable Loop', 'pyloncore' ), 'type' => Controls_Manager::SWITCHER, 'label_on' => esc_html__( 'On', 'pyloncore' ), 'label_off' => esc_html__( 'Off', 'pyloncore' ), 'return_value' => 'yes', 'default' => 'yes', ] ); $this->add_control( 'pylon_slider_effect', [ 'label' => esc_html__( 'Enable Effect', 'pyloncore' ), 'type' => Controls_Manager::SWITCHER, 'label_on' => esc_html__( 'On', 'pyloncore' ), 'label_off' => esc_html__( 'Off', 'pyloncore' ), 'return_value' => 'yes', 'default' => 'yes', ] ); $this->add_control( 'pylon_slider_nav', [ 'label' => esc_html__( 'Enable Nav', 'pyloncore' ), 'type' => Controls_Manager::SWITCHER, 'label_on' => esc_html__( 'On', 'pyloncore' ), 'label_off' => esc_html__( 'Off', 'pyloncore' ), 'return_value' => 'yes', 'default' => 'yes', ] ); $this->add_control( 'pylon_slider_autoply', [ 'label' => esc_html__( 'Auto Play', 'plugin-pyloncore' ), 'type' => \Elementor\Controls_Manager::NUMBER, 'min' => 500, 'max' => 10000, 'step' => 50, 'default' => 5000, 'condition' => [ 'pylon_slider_loop' => 'yes', ], ] ); $this->add_control( 'pylon_slider_transparent_background', [ 'label' => esc_html__('Choose Background Type','pyloncore'), 'type' => \Elementor\Controls_Manager::SELECT, 'default' => 'theme', 'options' => [ 'theme' => esc_html__('Theme','pyloncore'), 'normal' => esc_html__('Normal','pyloncore'), 'gradient' => esc_html__('Gradient','pyloncore'), ], 'condition' => [ 'pylon_sliders_style' => 'two' ] ] ); $this->add_control( 'pylon_slider_transparent_background_normal_color', [ 'label' => esc_html__('Normal Color','pyloncore'), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .main-slider .thm-swiper-two__slider .swiper-slide .image-layer.background-normal:before' => 'background-color : {{VALUE}}' ], 'condition' => [ 'pylon_slider_transparent_background' => 'normal', ] ] ); $this->add_group_control( \Elementor\Group_Control_Background::get_type(), [ 'name' => 'pylon_slider_transparent_background_gradient_color', 'label' => esc_html__('Gradient Color','pyloncore'), 'types' => [ 'gradient' ], 'selector' => '{{WRAPPER}} .main-slider .thm-swiper-two__slider .swiper-slide .image-layer.background-gradient:after', 'condition' => [ 'pylon_slider_transparent_background' => 'gradient', ] ] ); $this->end_controls_section(); $this->start_controls_section( 'pylon_slider_box_style', [ 'label' => esc_html__( 'Content Box', 'pyloncore' ), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_responsive_control( 'pylon_slider_box_margin', [ 'label' => esc_html__( 'Margin', 'pyloncore' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'em'], 'selectors' => [ '{{WRAPPER}} .main-slider .swiper-slide .container,{{WRAPPER}} .main-slider-two .container-fluid' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], 'separator' => 'before', ] ); $this->add_responsive_control( 'pylon_slider_box_padding', [ 'label' => esc_html__( 'Padding', 'pyloncore' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'em'], 'selectors' => [ '{{WRAPPER}} .main-slider .swiper-slide .container,{{WRAPPER}} .main-slider-two .container-fluid' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], 'separator' => 'before', ] ); $this->end_controls_section(); $this->start_controls_section( 'pylon_slider_content_style', [ 'label' => esc_html__( 'Content', 'pyloncore' ), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_group_control( \Elementor\Group_Control_Typography::get_type(), [ 'name' => 'pylon_slider_stitle_typo', 'label' => esc_html__( 'Small Title Typography', 'pyloncore' ), 'selector' => '{{WRAPPER}} .main-slider .swiper-slide h2,{{WRAPPER}} .main-slider-two .swiper-slide p', ] ); $this->add_responsive_control( 'pylon_slider_stitle_color', [ 'label' => esc_html__( 'Small Title Color', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .main-slider .swiper-slide p,{{WRAPPER}} .main-slider-two .swiper-slide p' => 'color: {{VALUE}}', ], ] ); $this->add_group_control( \Elementor\Group_Control_Border::get_type(), [ 'name' => 'pylon_slider_small_title_border', 'label' => esc_html__( 'Small Title Border', 'pyloncore' ), 'selector' => '{{WRAPPER}} .main-slider .swiper-slide p,{{WRAPPER}} .main-slider-two .swiper-slide p', ] ); $this->add_control( '1bar', [ 'type' => \Elementor\Controls_Manager::DIVIDER, ] ); $this->add_group_control( \Elementor\Group_Control_Typography::get_type(), [ 'name' => 'pylon_slider_title_typo', 'label' => esc_html__( 'Title Typography', 'pyloncore' ), 'selector' => '{{WRAPPER}} .main-slider .swiper-slide h2,{{WRAPPER}} .main-slider-two .swiper-slide h2', ] ); $this->add_responsive_control( 'pylon_slider_title_color', [ 'label' => esc_html__( 'Title Color', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .main-slider .swiper-slide h2,{{WRAPPER}} .main-slider-two .swiper-slide h2' => 'color: {{VALUE}}', ], ] ); $this->add_group_control( \Elementor\Group_Control_Border::get_type(), [ 'name' => 'pylon_slider_title_border', 'label' => esc_html__('Title Border', 'pyloncore'), 'selector' => '{{WRAPPER}} .main-slider .swiper-slide h2,{{WRAPPER}} .main-slider-two .swiper-slide h2', ] ); $this->add_responsive_control( 'pylon_slider_title_margin', [ 'label' => esc_html__( 'Margin', 'pyloncore' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'em'], 'default' => [ 'top' => '14', 'right' => '0', 'bottom' => '0', 'left' => '0', 'isLinked' => true, ], 'selectors' => [ '{{WRAPPER}} .main-slider .swiper-slide h2,{{WRAPPER}} .main-slider-two .swiper-slide h2' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], 'separator' => 'before', ] ); $this->add_responsive_control( 'pylon_slider_title_padding', [ 'label' => esc_html__( 'Padding', 'pyloncore' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'em'], 'selectors' => [ '{{WRAPPER}} .main-slider .swiper-slide h2,{{WRAPPER}} .main-slider-two .swiper-slide h2' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], 'separator' => 'before', ] ); $this->add_control( '2bar', [ 'type' => \Elementor\Controls_Manager::DIVIDER, ] ); $this->add_group_control( \Elementor\Group_Control_Typography::get_type(), [ 'name' => 'pylon_slider_desc_typo', 'label' => esc_html__( 'Title Typography', 'pyloncore' ), 'selector' => '{{WRAPPER}} .main-slider-two .swiper-slide .main-slider-two__text', 'condition' => [ 'pylon_sliders_style' => 'three', ], ] ); $this->add_responsive_control( 'pylon_slider_desc_color', [ 'label' => esc_html__( 'Title Color', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .main-slider-two .swiper-slide .main-slider-two__text' => 'color: {{VALUE}}', ], 'condition' => [ 'pylon_sliders_style' => 'three', ], ] ); $this->end_controls_section(); $this->start_controls_section( 'pylon_slider_buttons_style', [ 'label' => esc_html__( 'Button', 'pyloncore' ), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_group_control( \Elementor\Group_Control_Typography::get_type(), [ 'name' => 'pylon_slider_button_typo', 'label' => esc_html__( 'Title Typography', 'pyloncore' ), 'selector' => '{{WRAPPER}} .thm-btn,{{WRAPPER}} .main-slider-two .swiper-slide .thm-btn', ] ); $this->add_responsive_control( 'pylon_slider_button_margin', [ 'label' => esc_html__( 'Margin', 'pyloncore' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'em'], 'selectors' => [ '{{WRAPPER}} .thm-btn,{{WRAPPER}} .main-slider-two .swiper-slide .thm-btn' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], 'separator' => 'before', ] ); $this->add_responsive_control( 'pylon_slider_button_padding', [ 'label' => esc_html__( 'Padding', 'pyloncore' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'em'], 'default' => [ 'top' => '16.5', 'right' => '39.5', 'bottom' => '16.5', 'left' => '39.5', 'isLinked' => true, ], 'selectors' => [ '{{WRAPPER}} .thm-btn,{{WRAPPER}} .main-slider-two .swiper-slide .thm-btn' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], 'separator' => 'before', ] ); $this->start_controls_tabs( 'pylon_slider_button_tabs' ); $this->start_controls_tab( 'pylon_slider_button_n_tab', [ 'label' => esc_html__( 'Normal', 'pyloncore' ), ] ); $this->add_responsive_control( 'pylon_slider_button_n_color', [ 'label' => esc_html__( 'Color', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .main-slider .swiper-slide .thm-btn,{{WRAPPER}} .main-slider-two .swiper-slide .thm-btn' => 'color: {{VALUE}}', ], ] ); $this->add_group_control( \Elementor\Group_Control_Background::get_type(), [ 'name' => 'pylon_slider_button_n_bg', 'label' => esc_html__( 'Background', 'pyloncore' ), 'types' => ['classic', 'gradient'], 'selector' => '{{WRAPPER}} .main-slider .swiper-slide .thm-btn,{{WRAPPER}} .main-slider-two .swiper-slide .thm-btn', ] ); $this->add_group_control( \Elementor\Group_Control_Border::get_type(), [ 'name' => 'pylon_slider_button_n_border', 'label' => esc_html__( 'Border', 'pyloncore' ), 'selector' => '{{WRAPPER}} .main-slider .swiper-slide .thm-btn,{{WRAPPER}} .main-slider-two .swiper-slide .thm-btn', ] ); $this->add_responsive_control( 'pylon_slider_button_n_border_radius', [ 'label' => esc_html__( 'Border Radius', 'pyloncore' ), 'type' => Controls_Manager::SLIDER, 'size_units' => ['px'], 'range' => [ 'px' => [ 'min' => 0, 'max' => 100, 'step' => 1, ], ], 'default' => [ 'size' => 4, ], 'selectors' => [ '{{WRAPPER}} .main-slider .swiper-slide .thm-btn,{{WRAPPER}} .main-slider-two .swiper-slide .thm-btn' => 'border-radius: {{SIZE}}{{UNIT}};', ], ] ); $this->add_group_control( \Elementor\Group_Control_Box_Shadow::get_type(), [ 'name' => 'pylon_slider_button_n_box_shadow', 'label' => esc_html__( 'Box Shadow', 'pyloncore' ), 'selector' => '{{WRAPPER}} .main-slider .swiper-slide .thm-btn,{{WRAPPER}} .main-slider-two .swiper-slide .thm-btn', ] ); $this->end_controls_tab(); $this->start_controls_tab( 'pylon_slider_button_h_tab', [ 'label' => esc_html__( 'Hover', 'pyloncore' ), ] ); $this->add_responsive_control( 'pylon_slider_button_h_color', [ 'label' => esc_html__( 'Color', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .main-slider .swiper-slide .thm-btn:hover,{{WRAPPER}} .main-slider-two .swiper-slide .thm-btn:hover' => 'color: {{VALUE}}', ], ] ); $this->add_group_control( \Elementor\Group_Control_Background::get_type(), [ 'name' => 'pylon_slider_button_h_bg', 'label' => esc_html__( 'Background', 'pyloncore' ), 'types' => ['classic', 'gradient'], 'selector' => '{{WRAPPER}} .main-slider .swiper-slide .thm-btn:hover,{{WRAPPER}} .main-slider-two .swiper-slide .thm-btn:hover', ] ); $this->add_group_control( \Elementor\Group_Control_Border::get_type(), [ 'name' => 'pylon_slider_button_h_border', 'label' => esc_html__( 'Border', 'pyloncore' ), 'selector' => '{{WRAPPER}} .main-slider .swiper-slide .thm-btn:hover,{{WRAPPER}} .main-slider-two .swiper-slide .thm-btn:hover', ] ); $this->add_responsive_control( 'pylon_slider_button_h_border_radius', [ 'label' => esc_html__( 'Border Radius', 'pyloncore' ), 'type' => Controls_Manager::SLIDER, 'size_units' => ['px'], 'range' => [ 'px' => [ 'min' => 0, 'max' => 100, 'step' => 1, ], ], 'default' => [ 'size' => 4, ], 'selectors' => [ '{{WRAPPER}} .main-slider .swiper-slide .thm-btn:hover,{{WRAPPER}} .main-slider-two .swiper-slide .thm-btn:hover' => 'border-radius: {{SIZE}}{{UNIT}};', ], ] ); $this->add_group_control( \Elementor\Group_Control_Box_Shadow::get_type(), [ 'name' => 'pylon_slider_button_h_box_shadow', 'label' => esc_html__( 'Box Shadow', 'pyloncore' ), 'selector' => '{{WRAPPER}} .main-slider .swiper-slide .thm-btn:hover,{{WRAPPER}} .main-slider-two .swiper-slide .thm-btn:hover', ] ); $this->end_controls_tab(); $this->end_controls_tabs(); $this->end_controls_section(); $this->start_controls_section( 'pylon_slider_buttons2_style', [ 'label' => esc_html__( 'Button Two', 'pyloncore' ), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_group_control( \Elementor\Group_Control_Typography::get_type(), [ 'name' => 'pylon_slider_button2_typo', 'label' => esc_html__( 'Title Typography', 'pyloncore' ), 'selector' => '{{WRAPPER}} .thm-btn.slider-btn-two', ] ); $this->add_responsive_control( 'pylon_slider_button2_margin', [ 'label' => esc_html__( 'Margin', 'pyloncore' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'em'], 'default' => [ 'top' => '0', 'right' => '0', 'bottom' => '0', 'left' => '10', 'isLinked' => true, ], 'selectors' => [ '{{WRAPPER}} .thm-btn.slider-btn-two' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], 'separator' => 'before', ] ); $this->add_responsive_control( 'pylon_slider_button2_padding', [ 'label' => esc_html__( 'Padding', 'pyloncore' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'em'], 'default' => [ 'top' => '16.5', 'right' => '39.5', 'bottom' => '16.5', 'left' => '39.5', 'isLinked' => true, ], 'selectors' => [ '{{WRAPPER}} .thm-btn.slider-btn-two' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], 'separator' => 'before', ] ); $this->start_controls_tabs( 'pylon_slider_button2_tabs' ); $this->start_controls_tab( 'pylon_slider_button2_n_tab', [ 'label' => esc_html__( 'Normal', 'pyloncore' ), ] ); $this->add_responsive_control( 'pylon_slider_button2_n_color', [ 'label' => esc_html__( 'Color', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .main-slider .swiper-slide .thm-btn.slider-btn-two' => 'color: {{VALUE}}', ], ] ); $this->add_group_control( \Elementor\Group_Control_Background::get_type(), [ 'name' => 'pylon_slider_button2_n_bg', 'label' => esc_html__( 'Background', 'pyloncore' ), 'types' => ['classic', 'gradient'], 'selector' => '{{WRAPPER}} .main-slider .swiper-slide .thm-btn.slider-btn-two', ] ); $this->add_group_control( \Elementor\Group_Control_Border::get_type(), [ 'name' => 'pylon_slider_button2_n_border', 'label' => esc_html__( 'Border', 'pyloncore' ), 'selector' => '{{WRAPPER}} .main-slider .swiper-slide .thm-btn.slider-btn-two', ] ); $this->add_responsive_control( 'pylon_slider_button2_n_border_radius', [ 'label' => esc_html__( 'Border Radius', 'pyloncore' ), 'type' => Controls_Manager::SLIDER, 'size_units' => ['px'], 'range' => [ 'px' => [ 'min' => 0, 'max' => 100, 'step' => 1, ], ], 'default' => [ 'size' => 4, ], 'selectors' => [ '{{WRAPPER}} .main-slider .swiper-slide .thm-btn.slider-btn-two' => 'border-radius: {{SIZE}}{{UNIT}};', ], ] ); $this->add_group_control( \Elementor\Group_Control_Box_Shadow::get_type(), [ 'name' => 'pylon_slider_button2_n_box_shadow', 'label' => esc_html__( 'Box Shadow', 'pyloncore' ), 'selector' => '{{WRAPPER}} .main-slider .swiper-slide .thm-btn.slider-btn-two', ] ); $this->end_controls_tab(); $this->start_controls_tab( 'pylon_slider_button2_h_tab', [ 'label' => esc_html__( 'Hover', 'pyloncore' ), ] ); $this->add_responsive_control( 'pylon_slider_button2_h_color', [ 'label' => esc_html__( 'Color', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .main-slider .swiper-slide .thm-btn.slider-btn-two:hover' => 'color: {{VALUE}}', ], ] ); $this->add_group_control( \Elementor\Group_Control_Background::get_type(), [ 'name' => 'pylon_slider_button2_h_bg', 'label' => esc_html__( 'Background', 'pyloncore' ), 'types' => ['classic', 'gradient'], 'selector' => '{{WRAPPER}} .main-slider .swiper-slide .thm-btn.slider-btn-two:hover', ] ); $this->add_group_control( \Elementor\Group_Control_Border::get_type(), [ 'name' => 'pylon_slider_button2_h_border', 'label' => esc_html__( 'Border', 'pyloncore' ), 'selector' => '{{WRAPPER}} .main-slider .swiper-slide .thm-btn.slider-btn-two:hover', ] ); $this->add_responsive_control( 'pylon_slider_button2_h_border_radius', [ 'label' => esc_html__( 'Border Radius', 'pyloncore' ), 'type' => Controls_Manager::SLIDER, 'size_units' => ['px'], 'range' => [ 'px' => [ 'min' => 0, 'max' => 100, 'step' => 1, ], ], 'default' => [ 'size' => 4, ], 'selectors' => [ '{{WRAPPER}} .main-slider .swiper-slide .thm-btn.slider-btn-two:hover' => 'border-radius: {{SIZE}}{{UNIT}};', ], ] ); $this->add_group_control( \Elementor\Group_Control_Box_Shadow::get_type(), [ 'name' => 'pylon_slider_button2_h_box_shadow', 'label' => esc_html__( 'Box Shadow', 'pyloncore' ), 'selector' => '{{WRAPPER}} .main-slider .swiper-slide .thm-btn.slider-btn-two:hover', ] ); $this->end_controls_tab(); $this->end_controls_tabs(); $this->end_controls_section(); } //Render protected function render() { $settings = $this->get_settings_for_display(); $dynamic_num = rand( 35245545, 541541745 ); if ( $settings['pylon_slider_loop'] == true ) { $pylon_slider_loop = 'true'; } else { $pylon_slider_loop = 'false'; } if ( $settings['pylon_slider_effect'] == true ) { $pylon_slider_effect = 'true'; } else { $pylon_slider_effect = 'false'; } if ($settings['pylon_slider_alignment'] == 'left') { $slider_alignment = 'start'; $text_align = 'left'; } elseif ($settings['pylon_slider_alignment'] == 'center') { $slider_alignment = 'center'; $text_align = 'center'; } elseif ($settings['pylon_slider_alignment'] == 'right') { $slider_alignment = 'end'; $text_align = 'right'; } echo ' '; $main_slider_two=''; if($settings['pylon_sliders_style'] == 'three'){ $main_slider_two ='main-slider-two'; } ?>

    widgets_manager->register_widget_type( new Pylon_slider_Widget );