📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-26 10:32:03
📂
/
/
home
/
pallabnv
/
public_html
/
wp-content__3bb9dea
/
themes
/
berich
/
elements
/
widgets
✏️
Editing: pxl_accordion.php
<?php pxl_add_custom_widget( array( 'name' => 'pxl_accordion', 'title' => esc_html__('Case Accordion', 'berich' ), 'icon' => 'eicon-accordion', 'categories' => array('pxltheme-core'), 'scripts' => array( 'berich-accordion' ), 'params' => array( 'sections' => array( array( 'name' => 'section_content', 'label' => esc_html__('Content', 'berich' ), 'tab' => \Elementor\Controls_Manager::TAB_CONTENT, 'controls' => array( array( 'name' => 'style', 'label' => esc_html__('Style', 'berich' ), 'type' => \Elementor\Controls_Manager::SELECT, 'options' => [ 'style-default' => 'Default', 'style-outline' => 'Outline', 'style-modern' => 'Modern', 'style-classic' => 'Classic', ], 'default' => 'style-default', ), array( 'name' => 'active', 'label' => esc_html__('Active', 'berich' ), 'type' => \Elementor\Controls_Manager::NUMBER, 'separator' => 'after', 'default' => '1', ), array( 'name' => 'accordion', 'label' => esc_html__('Accordion', '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' => 'desc', 'label' => esc_html__('Content', 'berich' ), 'type' => \Elementor\Controls_Manager::TEXTAREA, 'rows' => 10, ), array( 'name' => 'pxl_icon', 'label' => esc_html__('Icon', 'berich' ), 'type' => \Elementor\Controls_Manager::ICONS, 'fa4compatibility' => 'icon', ), ), 'title_field' => '{{{ title }}}', 'separator' => 'after', ), ), ), array( 'name' => 'section_style_title', 'label' => esc_html__('Title', 'berich' ), 'tab' => \Elementor\Controls_Manager::TAB_STYLE, 'controls' => array( array( 'name' => 'title_color', 'label' => esc_html__('Color', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-accordion .pxl-accordion--title' => 'color: {{VALUE}};', ], ), array( 'name' => 'title_typography', 'label' => esc_html__('Typography', 'berich' ), 'type' => \Elementor\Group_Control_Typography::get_type(), 'control_type' => 'group', 'selector' => '{{WRAPPER}} .pxl-accordion .pxl-accordion--title', ), array( 'name' => 'title_tag', 'label' => esc_html__('HTML Tag', 'berich' ), 'type' => \Elementor\Controls_Manager::SELECT, 'options' => [ 'h1' => 'H1', 'h2' => 'H2', 'h3' => 'H3', 'h4' => 'H4', 'h5' => 'H5', 'h6' => 'H6', 'div' => 'div', 'span' => 'span', 'p' => 'p', ], 'default' => 'h5', ), ), ), array( 'name' => 'section_style_content', 'label' => esc_html__('Content', 'berich' ), 'tab' => \Elementor\Controls_Manager::TAB_STYLE, 'controls' => array( array( 'name' => 'content_color', 'label' => esc_html__('Color', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-accordion .pxl-accordion--content' => 'color: {{VALUE}};', ], ), array( 'name' => 'desc_typography', 'label' => esc_html__('Typography', 'berich' ), 'type' => \Elementor\Group_Control_Typography::get_type(), 'control_type' => 'group', 'selector' => '{{WRAPPER}} .pxl-accordion .pxl-accordion--content', ), ), ), berich_widget_animation_settings(), ), ), ), berich_get_class_widget_path() );
💾 Save Changes
❌ Cancel