📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-26 10:26:02
📂
/
/
home
/
pallabnv
/
public_html
/
wp-content__3bb9dea
/
themes
/
berich
/
elements
/
widgets
✏️
Editing: pxl_progressbar.php
<?php pxl_add_custom_widget( array( 'name' => 'pxl_progressbar', 'title' => esc_html__( 'Case Progress Bar', 'berich' ), 'icon' => 'eicon-skill-bar', 'categories' => array('pxltheme-core'), 'scripts' => array( 'pxl-progressbar', 'berich-progressbar', ), 'params' => array( 'sections' => array( array( 'name' => 'tab_content', 'label' => esc_html__( 'Content', 'berich' ), 'tab' => \Elementor\Controls_Manager::TAB_CONTENT, 'controls' => array( array( 'name' => 'progressbar', 'label' => esc_html__( 'Progress Bar', 'berich' ), 'type' => \Elementor\Controls_Manager::REPEATER, 'controls' => array( array( 'name' => 'title', 'label' => esc_html__( 'Title', 'berich' ), 'type' => \Elementor\Controls_Manager::TEXT, 'label_block' => true, ), array( 'name' => 'percent', 'label' => esc_html__( 'Percentage', 'berich' ), 'type' => \Elementor\Controls_Manager::SLIDER, 'default' => [ 'size' => 50, 'unit' => '%', ], 'label_block' => true, ), ), 'title_field' => '{{{ title }}}', ), array( 'name' => 'item_max_width', 'label' => esc_html__('Item Max Width', 'berich' ), 'type' => \Elementor\Controls_Manager::SLIDER, 'control_type' => 'responsive', 'size_units' => [ 'px' ], 'range' => [ 'px' => [ 'min' => 0, 'max' => 300, ], ], 'selectors' => [ '{{WRAPPER}} .pxl-progressbar' => 'max-width: {{SIZE}}{{UNIT}};', ], ), array( 'name' => 'item_space', 'label' => esc_html__('Item Spacer', 'berich' ), 'type' => \Elementor\Controls_Manager::SLIDER, 'control_type' => 'responsive', 'size_units' => [ 'px' ], 'range' => [ 'px' => [ 'min' => 0, 'max' => 300, ], ], 'selectors' => [ '{{WRAPPER}} .pxl-progressbar .pxl--item + .pxl--item' => 'margin-top: {{SIZE}}{{UNIT}};', ], ), array( 'name' => 'style', 'label' => esc_html__('Style', 'berich' ), 'type' => \Elementor\Controls_Manager::SELECT, 'options' => [ 'style-1' => 'Style 1', 'style-2' => 'Style 2', ], 'default' => 'style-1', ), ), ), array( 'name' => 'tab_style_title', 'label' => esc_html__( 'Title', 'berich' ), 'tab' => \Elementor\Controls_Manager::TAB_STYLE, 'controls' => array( array( 'name' => 'title_color', 'label' => esc_html__( 'Title Color', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-progressbar .pxl--title' => 'color: {{VALUE}};', ], ), array( 'name' => 'title_typography', 'label' => esc_html__( 'Title Typography', 'berich' ), 'type' => \Elementor\Group_Control_Typography::get_type(), 'control_type' => 'group', 'selector' => '{{WRAPPER}} .pxl-progressbar .pxl--title', ), ), ), array( 'name' => 'tab_style_percentage', 'label' => esc_html__( 'Percentage', 'berich' ), 'tab' => \Elementor\Controls_Manager::TAB_STYLE, 'controls' => array( array( 'name' => 'percentage_color', 'label' => esc_html__( 'Percentage Color', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-progressbar .pxl--percentage' => 'color: {{VALUE}};', ], ), array( 'name' => 'percentage_typography', 'label' => esc_html__( 'Percentage Typography', 'berich' ), 'type' => \Elementor\Group_Control_Typography::get_type(), 'control_type' => 'group', 'selector' => '{{WRAPPER}} .pxl-progressbar .pxl--percentage', ), ), ), array( 'name' => 'tab_style_bar', 'label' => esc_html__( 'Bar', 'berich' ), 'tab' => \Elementor\Controls_Manager::TAB_STYLE, 'controls' => array( array( 'name' => 'bar_color', 'label' => esc_html__( 'Bar Color', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-progressbar .pxl--progressbar' => 'background: {{VALUE}};', ], ), array( 'name' => 'bar_bg_color', 'label' => esc_html__( 'Bar Background Color', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-progressbar .pxl-progressbar--wrap' => 'background: {{VALUE}};', ], ), ), ), berich_widget_animation_settings(), ), ), ), berich_get_class_widget_path() );
💾 Save Changes
❌ Cancel