/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/funfact-widget.php (26527B)
start_controls_section( 'pylon_funfact_options', [ 'label' => esc_html__( 'Pylon FunFact', 'pyloncore' ), 'tab' => Controls_Manager::TAB_CONTENT, ] ); $this->add_control( 'pylon_funfact_style', [ 'label' => esc_html__( 'Box Style', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::SELECT, 'default' => '1', 'options' => [ '1' => esc_html__( 'Style One', 'pyloncore' ), '2' => esc_html__( 'Style Two', 'pyloncore' ), ], ] ); $this->add_control( 'pylon_image_choose', [ 'label' => __( 'Choose Image', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::MEDIA, 'default' => [ 'url' => \Elementor\Utils::get_placeholder_image_src(), ], 'condition' => [ 'pylon_funfact_style' => '2', ], ] ); $this->add_control( 'pylon_funfact_icon', [ 'label' => esc_html__( 'Icons', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::ICONS, 'show_label' => true, 'condition' => [ 'pylon_funfact_style' => '2', ], 'default' => [ 'value' => 'pylon-two-icon-trophy', ],0 ] ); $this->add_responsive_control( 'pylon_funfact_alignment', [ 'label' => esc_html__( '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' => 'center', 'toggle' => true, 'selectors' => [ '{{WRAPPER}} .funfact-one__box' => 'text-align: {{VALUE}}', '{{WRAPPER}} .funfact-tow__box' => 'text-align: {{VALUE}}', ], ] ); $this->add_control( 'pylon_funfact_number', [ 'label' => esc_html__( 'Number', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::NUMBER, 'min' => 1, 'max' => 10000, 'step' => 1, 'default' => 99, ] ); $this->add_control( 'pylon_funfact_symble', [ 'label' => esc_html__( 'Symbol', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::TEXT, 'default' => esc_html__( '%', 'pyloncore' ), ] ); $this->add_control( 'pylon_funfact_amount', [ 'label' => esc_html__( 'Amount Symbol', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::TEXT, 'condition' => [ 'pylon_funfact_style' => '1', ], ] ); $this->add_control( 'pylon_funfact_title', [ 'label' => esc_html__( 'Title', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::TEXT, 'default' => esc_html__( ' Award Winning', 'pyloncore' ), ] ); $this->end_controls_section(); $this->start_controls_section( 'pylon_funfact_number_box_style', [ 'label' => esc_html__( 'Box', 'pyloncore' ), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_group_control( \Elementor\Group_Control_Background::get_type(), [ 'name' => 'pylon_funfact_box_bg', 'label' => esc_html__( 'Background', 'pyloncore' ), 'types' => [ 'classic', 'gradient', 'video' ], 'selector' => '{{WRAPPER}} .funfact-one__box,{{WRAPPER}} .introduction-one__image__caption', ] ); $this->add_responsive_control( 'pylon_funfact_box_margin', [ 'label' => esc_html__( 'Margin', 'pyloncore' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'em'], 'selectors' => [ '{{WRAPPER}} .funfact-one__box,{{WRAPPER}} .introduction-one__image__caption' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'pylon_funfact_box_padding', [ 'label' => esc_html__( 'Padding', 'pyloncore' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'em'], 'selectors' => [ '{{WRAPPER}} .funfact-one__box' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->end_controls_section(); $this->start_controls_section( 'pylon_funfact_style_title', [ 'label' => esc_html__( 'Title', 'pyloncore' ), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_responsive_control( 'pylon_funfact_title_color', [ 'label' => esc_html__( 'Color', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .funfact-one__box p' => 'color: {{VALUE}}', ], ] ); $this->add_group_control( \Elementor\Group_Control_Typography::get_type(), [ 'name' => 'pylon_funfact_title_typo', 'label' => esc_html__( 'Typography', 'pyloncore' ), 'selector' => '{{WRAPPER}} .funfact-one__box p', ] ); $this->add_responsive_control( 'pylon_funfact_title_margin', [ 'label' => esc_html__( 'Margin', 'pyloncore' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'em'], 'selectors' => [ '{{WRAPPER}} .funfact-one__box p' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'pylon_funfact_title_padding', [ 'label' => esc_html__( 'Padding', 'pyloncore' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'em'], 'selectors' => [ '{{WRAPPER}} .funfact-one__box p' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->end_controls_section(); $this->start_controls_section( 'pylon_funfact_number_style', [ 'label' => esc_html__( 'Number', 'pyloncore' ), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_responsive_control( 'pylon_funfact_number_color', [ 'label' => esc_html__( 'Color', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .funfact-one__box h3,{{WRAPPER}} .funfact-tow__box h3' => 'color: {{VALUE}}', ], ] ); $this->add_group_control( \Elementor\Group_Control_Typography::get_type(), [ 'name' => 'pylon_funfact_number_typo', 'label' => esc_html__( 'Typography', 'pyloncore' ), 'selector' => '{{WRAPPER}} .funfact-one__box h3,{{WRAPPER}} .funfact-tow__box h3', ] ); $this->add_responsive_control( 'pylon_funfact_number_margin', [ 'label' => esc_html__( 'Margin', 'pyloncore' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'em'], 'default' => [ 'top' => '0', 'right' => '0', 'bottom' => '15', 'left' => '0', 'isLinked' => true, ], 'selectors' => [ '{{WRAPPER}} .funfact-one__box h3,{{WRAPPER}} .funfact-tow__box h3' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'pylon_funfact_number_padding', [ 'label' => esc_html__( 'Padding', 'pyloncore' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'em'], 'selectors' => [ '{{WRAPPER}} .funfact-one__box h3,{{WRAPPER}} .funfact-tow__box h3' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->end_controls_section(); $this->start_controls_section( 'pylon_funfact_symbol_style', [ 'label' => esc_html__( 'Symbol', 'pyloncore' ), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_responsive_control( 'pylon_funfact_symbol_color', [ 'label' => esc_html__( 'Color', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .funfact-one__box .funfact-symbol,{{WRAPPER}} .funfact-tow__box .funfact-symbol' => 'color: {{VALUE}}', ], ] ); $this->add_group_control( \Elementor\Group_Control_Typography::get_type(), [ 'name' => 'pylon_funfact_symbol_typo', 'label' => esc_html__( 'Typography', 'pyloncore' ), 'selector' => '{{WRAPPER}} .funfact-one__box .funfact-symbol,{{WRAPPER}} .funfact-tow__box .funfact-symbol', ] ); $this->add_responsive_control( 'pylon_funfact_symbol_positon', [ 'label' => esc_html__( 'Position Top To Bottom', 'pyloncore' ), 'type' => Controls_Manager::SLIDER, 'size_units' => ['px'], 'range' => [ 'px' => [ 'min' => -100, 'max' => 200, 'step' => 1, ], ], 'selectors' => [ '{{WRAPPER}} .funfact-one__box .funfact-symbol,{{WRAPPER}} .funfact-tow__box .funfact-symbol' => 'top: {{SIZE}}{{UNIT}};' ], ] ); $this->end_controls_section(); $this->start_controls_section( 'pylon_funfact_amount_style', [ 'label' => esc_html__( 'Amount', 'pyloncore' ), 'tab' => Controls_Manager::TAB_STYLE, 'condition' => [ 'pylon_funfact_style' => '1', ], ] ); $this->add_responsive_control( 'pylon_funfact_amount_color', [ 'label' => esc_html__( 'Color', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .funfact-one__box .funfact-amount' => 'color: {{VALUE}}', ], ] ); $this->add_group_control( \Elementor\Group_Control_Typography::get_type(), [ 'name' => 'pylon_funfact_amount_typo', 'label' => esc_html__( 'Typography', 'pyloncore' ), 'selector' => '{{WRAPPER}} .funfact-one__box .funfact-amount', ] ); $this->add_responsive_control( 'pylon_funfact_amount_positon', [ 'label' => esc_html__( 'Position Top To Bottom', 'pyloncore' ), 'type' => Controls_Manager::SLIDER, 'size_units' => ['px'], 'range' => [ 'px' => [ 'min' => -100, 'max' => 200, 'step' => 1, ], ], 'selectors' => [ '{{WRAPPER}} .funfact-one__box .funfact-amount' => 'top: {{SIZE}}{{UNIT}};', ], ] ); $this->end_controls_section(); $this->start_controls_section( 'pylon_funfact_line_style', [ 'label' => esc_html__( 'Line', 'pyloncore' ), 'tab' => Controls_Manager::TAB_STYLE, 'condition' => [ 'pylon_funfact_style' => '1', ], ] ); $this->add_responsive_control( 'pylon_funfact_line_color', [ 'label' => esc_html__( 'Color', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .funfact-one__box:before' => 'background: {{VALUE}}', ], ] ); $this->add_responsive_control( 'pylon_funfact_line_width', [ 'label' => esc_html__( 'Width', 'pyloncore' ), 'type' => Controls_Manager::SLIDER, 'size_units' => ['px'], 'range' => [ 'px' => [ 'min' => 1, 'max' => 10, 'step' => 1, ], ], 'selectors' => [ '{{WRAPPER}} .funfact-one__box:before' => 'width: {{SIZE}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'pylon_funfact_line_height', [ 'label' => esc_html__( 'Height', 'pyloncore' ), 'type' => Controls_Manager::SLIDER, 'size_units' => ['px'], 'range' => [ 'px' => [ 'min' => 1, 'max' => 100, 'step' => 1, ], ], 'selectors' => [ '{{WRAPPER}} .funfact-one__box:before' => 'height: {{SIZE}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'pylon_funfact_line_positon', [ 'label' => esc_html__( 'Position Top To Bottom', 'pyloncore' ), 'type' => Controls_Manager::SLIDER, 'size_units' => ['px'], 'range' => [ 'px' => [ 'min' => -100, 'max' => 300, 'step' => 1, ], ], 'selectors' => [ '{{WRAPPER}} .funfact-one__box:before' => 'top: {{SIZE}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'pylon_funfact_line_positon_right', [ 'label' => esc_html__( 'Position Left To Right', 'pyloncore' ), 'type' => Controls_Manager::SLIDER, 'size_units' => ['px'], 'range' => [ 'px' => [ 'min' => -100, 'max' => 300, 'step' => 1, ], ], 'selectors' => [ '{{WRAPPER}} .funfact-one__box:before' => 'right: {{SIZE}}{{UNIT}};', ], ] ); $this->end_controls_section(); $this->start_controls_section( 'pylon_funfact_Icon_style', [ 'label' => esc_html__( 'Icon', 'pyloncore' ), 'tab' => Controls_Manager::TAB_STYLE, 'condition' => [ 'pylon_funfact_style' => '2', ], ] ); $this->add_responsive_control( 'pylon_funfact_Icon_color', [ 'label' => esc_html__( 'Color', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .funfact-tow__box i' => 'color: {{VALUE}}', ], ] ); $this->add_responsive_control( 'pylon_funfact_Icon_hover_color', [ 'label' => esc_html__( 'Icon hover Color', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .funfact-tow__box i:hover' => 'color: {{VALUE}}', ], ] ); $this->add_group_control( \Elementor\Group_Control_Background::get_type(), [ 'name' => 'pylon_funfact_Icon_bg', 'label' => esc_html__( 'Background', 'pyloncore' ), 'types' => [ 'gradient' ], 'selector' => '{{WRAPPER}} .funfact-tow__box .introduction-one__image__caption__icon', ] ); $this->add_group_control( \Elementor\Group_Control_Background::get_type(), [ 'name' => 'pylon_funfact_Icon_hover_bg', 'label' => esc_html__( 'hover Background', 'pyloncore' ), 'types' => [ 'gradient' ], 'selector' => '{{WRAPPER}} .funfact-tow__box .introduction-one__image__caption__icon:hover', ] ); $this->add_responsive_control( 'pylon_funfact_icon_size', [ 'label' => esc_html__( 'Icon Size', 'pyloncore' ), 'type' => Controls_Manager::SLIDER, 'size_units' => ['px'], 'range' => [ 'px' => [ 'min' => 20, 'max' => 150, 'step' => 1, ], ], 'default' => [ 'size' => 21, ], 'selectors' => [ '{{WRAPPER}} .funfact-tow__box i' => 'font-size: {{SIZE}}{{UNIT}};', ], ] ); $this->end_controls_section(); $this->start_controls_section( 'pylon_funfact_Count_title', [ 'label' => esc_html__( 'Title', 'pyloncore' ), 'tab' => Controls_Manager::TAB_STYLE, 'condition' => [ 'pylon_funfact_style' => '2', ], ] ); $this->add_responsive_control( 'pylon_funfact_titl_color', [ 'label' => esc_html__( 'Color', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .funfact-tow__box p' => 'color: {{VALUE}}', ], ] ); $this->add_responsive_control( 'pylon_funfact_titl_hover_color', [ 'label' => esc_html__( 'Color', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .funfact-tow__box p:hover' => 'color: {{VALUE}}', ], ] ); $this->add_responsive_control( 'pylon_funfact_tile_size', [ 'label' => esc_html__( 'Tile Size', 'pyloncore' ), 'type' => Controls_Manager::SLIDER, 'size_units' => ['px'], 'range' => [ 'px' => [ 'min' => 20, 'max' => 150, 'step' => 1, ], ], 'default' => [ 'size' => 23, ], 'selectors' => [ '{{WRAPPER}} .funfact-tow__box p' => 'font-size: {{SIZE}}{{UNIT}};', ], ] ); $this->end_controls_section(); } //Render protected function render() { $settings = $this->get_settings_for_display(); if($settings['pylon_funfact_style'] == '2'){ ?>

'; } if(!empty($settings['pylon_funfact_symble'])){ echo ''.esc_attr($settings['pylon_funfact_symble']).''; } ?>

'.esc_html($settings['pylon_funfact_title']).'

'; } ?>

'.esc_html($settings['pylon_funfact_amount']).''; } if(!empty($settings['pylon_funfact_number'])){ echo ''; } if(!empty($settings['pylon_funfact_symble'])){ echo ''.esc_attr($settings['pylon_funfact_symble']).''; } ?>

'.esc_html($settings['pylon_funfact_title']).'

'; } ?>
jQuery(document).ready(function($) { "use strict"; if (jQuery(".odometer").length) { jQuery(".odometer").appear(function(e) { var odo = jQuery(".odometer"); odo.each(function() { var countNumber = jQuery(this).attr("data-count"); jQuery(this).html(countNumber); }); }); } }); '; } } Plugin::instance()->widgets_manager->register_widget_type( new Pylon_Funfact_Widget );