/home/techb158/public_html/wp-content/themes/engitech/inc/backend/elementor-widgets
NameSizeModeActions
header/-0777rm
accordions.php98920666editdlrm
button.php84890666editdlrm
contact-form7.php87290666editdlrm
contact-info.php91630666editdlrm
countdown.php78770666editdlrm
counter-2.php98340666editdlrm
counter-3.php76030666editdlrm
counter.php75040666editdlrm
domain-checker.php75040666editdlrm
domain-list.php101050666editdlrm
flip-box.php87520666editdlrm
heading.php66230666editdlrm
icon-box-1.php100380666editdlrm
icon-box-2.php139980666editdlrm
icon-box-3.php123240666editdlrm
image-box.php42650666editdlrm
image-carousel.php98250666editdlrm
industries-carousel.php129050666editdlrm
message-box.php82210666editdlrm
number-box.php118440666editdlrm
portfolio-carousel.php152090666editdlrm
portfolio-filter.php160640666editdlrm
post-carousel.php120040666editdlrm
post-grid.php102680666editdlrm
pricing-table-2.php152460666editdlrm
pricing-table-3.php143530666editdlrm
pricing-table.php177000666editdlrm
progress-bars.php85350666editdlrm
service-box-1.php116430666editdlrm
service-box-2.php137500666editdlrm
social-share.php107120666editdlrm
support-box.php118360666editdlrm
switcher.php51820666editdlrm
tab-titles-2.php53900666editdlrm
tab-titles.php86350666editdlrm
tabs.php75050666editdlrm
team.php122650666editdlrm
tech-box.php101300666editdlrm
testimonial-carousel-2.php157120666editdlrm
testimonial-carousel-3.php105480666editdlrm
testimonial-carousel.php142410666editdlrm
video-button.php79870666editdlrm
widgets.php39880666editdlrm
Edit: /home/techb158/public_html/wp-content/themes/engitech/inc/backend/elementor-widgets/counter.php (7504B)
start_controls_section( 'content_section', [ 'label' => __( 'Counter', 'engitech' ), ] ); $this->add_control( 'box_style', [ 'label' => __( 'Style:', 'engitech' ), 'type' => Controls_Manager::SELECT, 'default' => 's1', 'options' => [ 's1' => __( 'Number Top', 'engitech' ), 's2' => __( 'Number Bottom', 'engitech' ), ] ] ); $this->add_responsive_control( 'align', [ 'label' => __( 'Alignment', 'engitech' ), 'type' => Controls_Manager::CHOOSE, 'options' => [ 'left' => [ 'title' => __( 'Left', 'engitech' ), 'icon' => 'fa fa-align-left', ], 'center' => [ 'title' => __( 'Center', 'engitech' ), 'icon' => 'fa fa-align-center', ], 'right' => [ 'title' => __( 'Right', 'engitech' ), 'icon' => 'fa fa-align-right', ], ], // 'prefix_class' => 'engitech%s-align-', 'selectors' => [ '{{WRAPPER}}' => 'text-align: {{VALUE}};', ], ] ); $this->add_control( 'title', [ 'label' => __( 'Title:', 'engitech' ), 'type' => Controls_Manager::TEXT, 'default' => __( 'Projects Done', 'engitech' ), ] ); $this->add_control( 'number', [ 'label' => 'Number:', 'type' => Controls_Manager::TEXT, 'default' => __( '1990', 'engitech' ), ] ); $this->add_control( 'extra', [ 'label' => __( 'After Number:', 'engitech' ), 'type' => Controls_Manager::TEXT, ] ); $this->add_control( 'time', [ 'label' => __( 'Duration', 'engitech' ), 'type' => Controls_Manager::SLIDER, 'range' => [ 'px' => [ 'min' => 1000, 'max' => 10000, 'step' => 1000, ], ], 'default' => [ 'unit' => 'px', 'size' => 2000, ], ] ); $this->end_controls_section(); $this->start_controls_section( 'style_content_section', [ 'label' => __( 'Style', 'engitech' ), 'tab' => Controls_Manager::TAB_STYLE, ] ); //Icon $this->add_control( 'heading_number', [ 'label' => __( 'Number', 'engitech' ), 'type' => Controls_Manager::HEADING, 'separator' => 'before', ] ); $this->add_control( 'number_color', [ 'label' => __( 'Color', 'engitech' ), 'type' => Controls_Manager::COLOR, 'default' => '', 'selectors' => [ '{{WRAPPER}} .ot-counter span' => 'color: {{VALUE}};', ] ] ); $this->add_group_control( Group_Control_Typography::get_type(), [ 'name' => 'number_typography', 'selector' => '{{WRAPPER}} .ot-counter span', ] ); //Title $this->add_control( 'heading_title', [ 'label' => __( 'Title', 'engitech' ), 'type' => Controls_Manager::HEADING, 'separator' => 'before', ] ); $this->add_responsive_control( 'title_space', [ 'label' => __( 'Spacing', 'engitech' ), 'type' => Controls_Manager::SLIDER, 'range' => [ 'px' => [ 'min' => 0, 'max' => 100, ], ], 'selectors' => [ '{{WRAPPER}} .ot-counter h6' => 'margin-top: {{SIZE}}{{UNIT}};', '{{WRAPPER}} .ot-counter.s2 h6' => 'margin-bottom: {{SIZE}}{{UNIT}};', ], ] ); $this->add_control( 'title_color', [ 'label' => __( 'Color', 'engitech' ), 'type' => Controls_Manager::COLOR, 'default' => '', 'selectors' => [ '{{WRAPPER}} .ot-counter h6' => 'color: {{VALUE}};', '{{WRAPPER}} .ot-counter h6:before' => 'background: {{VALUE}};', ] ] ); $this->add_group_control( Group_Control_Typography::get_type(), [ 'name' => 'title_typography', 'selector' => '{{WRAPPER}} .ot-counter h6', ] ); //Dot $this->add_control( 'heading_dot', [ 'label' => __( 'Dot', 'engitech' ), 'type' => Controls_Manager::HEADING, 'separator' => 'before', ] ); $this->add_responsive_control( 'dot_space', [ 'label' => __( 'Spacing', 'engitech' ), 'type' => Controls_Manager::SLIDER, 'range' => [ 'px' => [ 'min' => 0, 'max' => 100, ], ], 'selectors' => [ '{{WRAPPER}} .ot-counter h6, {{WRAPPER}} .ot-counter .num' => 'padding-left: {{SIZE}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'dot_size', [ 'label' => __( 'Size', 'engitech' ), 'type' => Controls_Manager::SLIDER, 'range' => [ 'px' => [ 'min' => 0, 'max' => 100, ], ], 'selectors' => [ '{{WRAPPER}} .ot-counter h6:before' => 'width: {{SIZE}}{{UNIT}}; height: {{SIZE}}{{UNIT}}; margin-top: {{SIZE}}{{UNIT}}/2;', ], ] ); $this->add_control( 'dot_color', [ 'label' => __( 'Color', 'engitech' ), 'type' => Controls_Manager::COLOR, 'default' => '', 'selectors' => [ '{{WRAPPER}} .ot-counter h6:before' => 'background: {{VALUE}};', ] ] ); $this->end_controls_section(); } protected function render() { $settings = $this->get_settings_for_display(); ?>
widgets_manager->register_widget_type( new Engitech_Counter() );