📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-26 10:28:32
📂
/
/
home
/
pallabnv
/
public_html
/
wp-content__3bb9dea
/
themes
/
berich
/
elements
/
widgets
✏️
Editing: pxl_tabs.php
<?php $templates = berich_get_templates_option('tab', []) ; pxl_add_custom_widget( array( 'name' => 'pxl_tabs', 'title' => esc_html__( 'Case Tabs', 'berich' ), 'icon' => 'eicon-tabs', 'categories' => array('pxltheme-core'), 'scripts' => array( 'berich-tabs' ), 'params' => array( 'sections' => array( array( 'name' => 'tab_content', 'label' => esc_html__( 'Tabs', 'berich' ), 'tab' => \Elementor\Controls_Manager::TAB_CONTENT, 'controls' => array( array( 'name' => 'tab_active', 'label' => esc_html__( 'Active Tab', 'berich' ), 'type' => \Elementor\Controls_Manager::NUMBER, 'default' => 1, 'separator' => 'after', ), array( 'name' => 'tabs', 'label' => esc_html__( 'Content', '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' => 'content_type', 'label' => esc_html__('Content Type', 'berich'), 'type' => 'select', 'options' => [ 'df' => esc_html__( 'Default', 'berich' ), 'template' => esc_html__( 'From Template Builder', 'berich' ) ], 'default' => 'df' ), array( 'name' => 'desc', 'label' => esc_html__( 'Content', 'berich' ), 'type' => \Elementor\Controls_Manager::WYSIWYG, 'condition' => ['content_type' => 'df'] ), array( 'name' => 'content_template', 'label' => esc_html__('Select Template', 'berich'), 'type' => 'select', 'options' => $templates, 'default' => 'df', 'description' => 'Add new tab template: "<a href="' . esc_url( admin_url( 'edit.php?post_type=pxl-template' ) ) . '" target="_blank">Click Here</a>"', 'condition' => ['content_type' => 'template'] ), ), 'title_field' => '{{{ title }}}', ), array( 'name' => 'max_width', 'label' => esc_html__('Content Max Width', 'berich' ), 'type' => \Elementor\Controls_Manager::SLIDER, 'control_type' => 'responsive', 'size_units' => [ 'px' ], 'range' => [ 'px' => [ 'min' => 0, 'max' => 300, ], ], 'selectors' => [ '{{WRAPPER}} .pxl-tabs .pxl-tabs--content' => 'max-width: {{SIZE}}{{UNIT}};', ], ), ), ), array( 'name' => 'tab_style', 'label' => esc_html__( 'Style', 'berich' ), 'tab' => \Elementor\Controls_Manager::TAB_STYLE, 'controls' => array( 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_effect', 'label' => esc_html__('Effect', 'berich' ), 'type' => \Elementor\Controls_Manager::SELECT, 'options' => [ 'tab-effect-slide' => 'Slide', 'tab-effect-fade' => 'Fade', ], 'default' => 'tab-effect-slide', ), array( 'name' => 'box_color', 'label' => esc_html__('Box Color', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-tabs1.style-2 .pxl-title--wrap' => 'background-color: {{VALUE}};', ], 'condition' => [ 'style' => ['style-2'], ], ), array( 'name' => 'title_color', 'label' => esc_html__('Title Color', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-tabs .pxl-tab--title' => 'color: {{VALUE}};', ], ), array( 'name' => 'title_active_color', 'label' => esc_html__('Title Active Color', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-tabs .pxl-tab--title.active' => '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-tabs .pxl-tab--title', 'separator' => 'after', ), array( 'name' => 'content_color', 'label' => esc_html__('Content Color', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-tabs .pxl-tab--content' => 'color: {{VALUE}};', ], ), array( 'name' => 'content_typography', 'label' => esc_html__('Content Typography', 'berich' ), 'type' => \Elementor\Group_Control_Typography::get_type(), 'control_type' => 'group', 'selector' => '{{WRAPPER}} .pxl-tabs .pxl-tab--content', ), array( 'name' => 'content_space_Top', 'label' => esc_html__('Content Top Spacer', 'berich' ), 'type' => \Elementor\Controls_Manager::SLIDER, 'control_type' => 'responsive', 'size_units' => [ 'px' ], 'default' => [ 'size' => 0, ], 'range' => [ 'px' => [ 'min' => 0, 'max' => 300, ], ], 'selectors' => [ '{{WRAPPER}} .pxl-tabs .pxl-tabs--content' => 'margin-top: {{SIZE}}{{UNIT}};', ], 'separator' => 'after', ), ), ), berich_widget_animation_settings(), ), ), ), berich_get_class_widget_path() );
💾 Save Changes
❌ Cancel