📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-26 10:30:23
📂
/
/
home
/
pallabnv
/
public_html
/
wp-content__3bb9dea
/
themes
/
berich
/
elements
/
widgets
✏️
Editing: pxl_banner_box.php
<?php pxl_add_custom_widget( array( 'name' => 'pxl_banner_box', 'title' => esc_html__('Case Banner Box', 'berich'), 'icon' => 'eicon-posts-ticker', 'categories' => array('pxltheme-core'), 'scripts' => array( 'elementor-waypoints', 'jquery-numerator', 'pxl-counter', 'pxl-counter-slide', 'berich-counter', ), 'params' => array( 'sections' => array( array( 'name' => 'section_layout', 'label' => esc_html__('Layout', 'berich' ), 'tab' => \Elementor\Controls_Manager::TAB_LAYOUT, 'controls' => array( array( 'name' => 'layout', 'label' => esc_html__('Templates', 'berich' ), 'type' => 'layoutcontrol', 'default' => '1', 'options' => [ '1' => [ 'label' => esc_html__('Layout 1', 'berich' ), 'image' => get_template_directory_uri() . '/elements/widgets/img-layout/pxl_banner_box/layout1.jpg' ], '2' => [ 'label' => esc_html__('Layout 2', 'berich' ), 'image' => get_template_directory_uri() . '/elements/widgets/img-layout/pxl_banner_box/layout2.jpg' ], ], ), ), ), array( 'name' => 'section_content', 'label' => esc_html__('Content', 'berich'), 'tab' => \Elementor\Controls_Manager::TAB_CONTENT, 'controls' => array( array( 'name' => 'banner_image', 'label' => esc_html__('Image', 'berich' ), 'type' => \Elementor\Controls_Manager::MEDIA, ), array( 'name' => 'title', 'label' => esc_html__('Title', 'berich'), 'type' => \Elementor\Controls_Manager::TEXT, 'label_block' => true, 'condition' => [ 'layout' => '1', ], ), array( 'name' => 'number', 'label' => esc_html__('Number', 'berich'), 'type' => \Elementor\Controls_Manager::NUMBER, 'default' => 100, 'condition' => [ 'layout' => '1', ], ), array( 'name' => 'suffix', 'label' => esc_html__('Number Suffix', 'berich'), 'type' => \Elementor\Controls_Manager::TEXT, 'default' => '', 'condition' => [ 'layout' => '1', ], ), array( 'name' => 'circle_image', 'label' => esc_html__('Circle Image', 'berich' ), 'type' => \Elementor\Controls_Manager::MEDIA, ), array( 'name' => 'circle_title', 'label' => esc_html__('Circle Title', 'berich'), 'type' => \Elementor\Controls_Manager::TEXT, 'label_block' => true, 'condition' => [ 'layout' => '1', ], ), array( 'name' => 'shape_image1', 'label' => esc_html__('Shape Image 1', 'berich' ), 'type' => \Elementor\Controls_Manager::MEDIA, 'condition' => [ 'layout' => '1', ], ), array( 'name' => 'shape_image2', 'label' => esc_html__('Shape Image 2', 'berich' ), 'type' => \Elementor\Controls_Manager::MEDIA, 'condition' => [ 'layout' => '1', ], ), array( 'name' => 'video_link', 'label' => esc_html__('Video Link', 'berich' ), 'type' => \Elementor\Controls_Manager::TEXT, 'default' => 'https://www.youtube.com/watch?v=SF4aHwxHtZ0', 'condition' => [ 'layout' => '2', ], ), ), ), array( 'name' => 'banner_style', 'label' => esc_html__('Style', '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-banner .pxl-counter--wrap .pxl-counter--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-banner .pxl-counter--wrap .pxl-counter--title', ), array( 'name' => 'number_color', 'label' => esc_html__('Number Color', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-banner .pxl-counter--wrap .pxl-counter--number' => 'color: {{VALUE}};', ], ), array( 'name' => 'number_typography', 'label' => esc_html__('Number Typography', 'berich' ), 'type' => \Elementor\Group_Control_Typography::get_type(), 'control_type' => 'group', 'selector' => '{{WRAPPER}} .pxl-banner .pxl-counter--wrap .pxl-counter--number', ), array( 'name' => 'circle_title_typography', 'label' => esc_html__('Circle Title Typography', 'berich' ), 'type' => \Elementor\Group_Control_Typography::get_type(), 'control_type' => 'group', 'selector' => '{{WRAPPER}} .pxl-banner .pxl-circle--box .pxl-circle--text', ), ), ), ), ), ), berich_get_class_widget_path() );
💾 Save Changes
❌ Cancel