📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-26 10:28:26
📂
/
/
home
/
pallabnv
/
public_html
/
wp-content__3bb9dea
/
themes
/
berich
/
elements
/
widgets
✏️
Editing: pxl_pricing.php
<?php pxl_add_custom_widget( array( 'name' => 'pxl_pricing', 'title' => esc_html__('Case Pricing', 'berich'), 'icon' => 'eicon-settings', 'categories' => array('pxltheme-core'), '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_pricing/layout1.jpg' ], '2' => [ 'label' => esc_html__('Layout 2', 'berich' ), 'image' => get_template_directory_uri() . '/elements/widgets/img-layout/pxl_pricing/layout2.jpg' ], ], ), ), ), array( 'name' => 'section_content', 'label' => esc_html__('Content', 'berich'), 'tab' => \Elementor\Controls_Manager::TAB_CONTENT, 'controls' => array( array( 'name' => 'title', 'label' => esc_html__('Title', 'berich'), 'type' => \Elementor\Controls_Manager::TEXT, 'label_block' => true, ), array( 'name' => 'sub_title', 'label' => esc_html__('Sub Title', 'berich'), 'type' => \Elementor\Controls_Manager::TEXT, 'label_block' => true, 'condition' => [ 'layout' => ['2'], ], ), array( 'name' => 'time', 'label' => esc_html__('Time', 'berich'), 'type' => \Elementor\Controls_Manager::TEXT, ), array( 'name' => 'currency', 'label' => esc_html__('Currency', 'berich'), 'type' => \Elementor\Controls_Manager::TEXT, ), array( 'name' => 'price', 'label' => esc_html__('Price', 'berich'), 'type' => \Elementor\Controls_Manager::TEXT, ), array( 'name' => 'btn_text', 'label' => esc_html__('Button Text', 'berich'), 'type' => \Elementor\Controls_Manager::TEXT, 'label_block' => true, ), array( 'name' => 'btn_link', 'label' => esc_html__('Button Link', 'berich'), 'type' => \Elementor\Controls_Manager::URL, 'label_block' => true, ), array( 'name' => 'pxl_icon', 'label' => esc_html__('Icon', 'berich' ), 'type' => \Elementor\Controls_Manager::ICONS, 'fa4compatibility' => 'icon', 'condition' => [ 'layout' => ['1'], ], ), array( 'name' => 'feature', 'label' => esc_html__('Feature', 'berich'), 'type' => \Elementor\Controls_Manager::REPEATER, 'controls' => array( array( 'name' => 'feature_text', 'label' => esc_html__('Text', 'berich'), 'type' => \Elementor\Controls_Manager::TEXT, 'label_block' => true, ), array( 'name' => 'feature_active', 'label' => esc_html__('Active', 'berich' ), 'type' => \Elementor\Controls_Manager::SELECT, 'options' => [ 'yes' => 'Yes', 'no' => 'No', ], 'default' => 'yes', ), ), 'title_field' => '{{{ feature_text }}}', ), array( 'name' => 'popular_text', 'label' => esc_html__('Popular Text', 'berich'), 'type' => \Elementor\Controls_Manager::TEXT, 'label_block' => true, 'condition' => [ 'layout' => ['2'], ], ), ), ), array( 'name' => 'tab_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-pricing .pxl-pricing--title' => 'color: {{VALUE}};', ], ), array( 'name' => 'style', 'label' => esc_html__('Style', 'berich' ), 'type' => \Elementor\Controls_Manager::SELECT, 'options' => [ 'style-1' => 'Style 1', 'style-2' => 'Style 2 (Dark)', ], 'default' => 'style-1', 'condition' => [ 'layout' => ['1'], ], ), ), ), ), ), ), berich_get_class_widget_path() );
💾 Save Changes
❌ Cancel