📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-26 10:27:41
📂
/
/
home
/
pallabnv
/
public_html
/
wp-content__3bb9dea
/
themes
/
berich
/
elements
/
widgets
✏️
Editing: pxl_team_grid.php
<?php pxl_add_custom_widget( array( 'name' => 'pxl_team_grid', 'title' => esc_html__('Case Team Grid', 'berich'), 'icon' => 'eicon-lock-user', 'categories' => array('pxltheme-core'), 'scripts' => [ 'imagesloaded', 'isotope', 'pxl-post-grid', ], '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_team_grid/layout1.jpg' ], ], ), ), ), array( 'name' => 'section_content', 'label' => esc_html__('Content', 'berich'), 'tab' => \Elementor\Controls_Manager::TAB_CONTENT, 'controls' => array( array( 'name' => 'team', 'label' => esc_html__('Team', 'berich'), 'type' => \Elementor\Controls_Manager::REPEATER, 'default' => [], 'controls' => array( array( 'name' => '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, ), array( 'name' => 'position', 'label' => esc_html__('Position', 'berich'), 'type' => \Elementor\Controls_Manager::TEXT, ), array( 'name' => 'item_link', 'label' => esc_html__('Link Details', 'berich'), 'type' => \Elementor\Controls_Manager::URL, 'label_block' => true, ), array( 'name' => 'social', 'label' => esc_html__( 'Social', 'berich' ), 'type' => 'pxl_icons', ), ), 'title_field' => '{{{ title }}}', ), ), ), array( 'name' => 'section_heading', 'label' => esc_html__('Item First', 'berich'), 'tab' => \Elementor\Controls_Manager::TAB_CONTENT, 'condition' => [ 'layout' => '1', ], 'controls' => array( array( 'name' => 'wg_sub_title', 'label' => esc_html__('Sub Title', 'berich'), 'type' => \Elementor\Controls_Manager::TEXT, 'label_block' => true, ), array( 'name' => 'wg_title', 'label' => esc_html__('Title', 'berich'), 'type' => \Elementor\Controls_Manager::TEXT, 'label_block' => true, ), array( 'name' => 'wg_desc', 'label' => esc_html__('Description', 'berich' ), 'type' => \Elementor\Controls_Manager::TEXTAREA, 'rows' => 10, 'show_label' => false, ), array( 'name' => 'wg_btn_text', 'label' => esc_html__('Button Text', 'berich'), 'type' => \Elementor\Controls_Manager::TEXT, 'label_block' => true, ), array( 'name' => 'wg_btn_link', 'label' => esc_html__('Button Link', 'berich'), 'type' => \Elementor\Controls_Manager::URL, 'label_block' => true, ), ), ), array( 'name' => 'section_settings', 'label' => esc_html__('Grid', 'berich' ), 'tab' => \Elementor\Controls_Manager::TAB_SETTINGS, 'controls' => array( array( 'name' => 'img_size', 'label' => esc_html__('Image Size', 'berich' ), 'type' => \Elementor\Controls_Manager::TEXT, 'description' => 'Enter image size (Example: "thumbnail", "medium", "large", "full" or other sizes defined by theme). Alternatively enter size in pixels (Default: 370x300 (Width x Height)).', ), array( 'name' => 'pxl_animate', 'label' => esc_html__('Case Animate', 'berich' ), 'type' => \Elementor\Controls_Manager::SELECT, 'options' => berich_widget_animate(), 'default' => '', ), array( 'name' => 'col_xs', 'label' => esc_html__('Columns XS Devices', 'berich' ), 'type' => \Elementor\Controls_Manager::SELECT, 'default' => '1', 'options' => [ '1' => '1', '2' => '2', '3' => '3', '4' => '4', '6' => '6', ], ), array( 'name' => 'col_sm', 'label' => esc_html__('Columns SM Devices', 'berich' ), 'type' => \Elementor\Controls_Manager::SELECT, 'default' => '2', 'options' => [ '1' => '1', '2' => '2', '3' => '3', '4' => '4', '6' => '6', ], ), array( 'name' => 'col_md', 'label' => esc_html__('Columns MD Devices', 'berich' ), 'type' => \Elementor\Controls_Manager::SELECT, 'default' => '2', 'options' => [ '1' => '1', '2' => '2', '3' => '3', '4' => '4', '6' => '6', ], ), array( 'name' => 'col_lg', 'label' => esc_html__('Columns LG Devices', 'berich' ), 'type' => \Elementor\Controls_Manager::SELECT, 'default' => '4', 'options' => [ '1' => '1', '2' => '2', '3' => '3', '4' => '4', '6' => '6', ], ), array( 'name' => 'col_xl', 'label' => esc_html__('Columns XL Devices', 'berich' ), 'type' => \Elementor\Controls_Manager::SELECT, 'default' => '4', 'options' => [ '1' => '1', '2' => '2', '3' => '3', '4' => '4', '5' => '5', '6' => '6', ], ), array( 'name' => 'item_spacer', 'label' => esc_html__('Item Spacer', 'berich' ), 'type' => \Elementor\Controls_Manager::SLIDER, 'control_type' => 'responsive', 'description' => 'Default: 15', 'range' => [ 'px' => [ 'min' => 0, 'max' => 1000, ], ], 'selectors' => [ '{{WRAPPER}} .pxl-grid .pxl-grid-item' => 'padding:{{SIZE}}px;', 'body:not(.elementor-editor-active) {{WRAPPER}} .pxl-grid .pxl-item--inner' => 'margin-bottom:0px;', '{{WRAPPER}} .pxl-grid .pxl-grid-masonry' => 'margin-left: -{{SIZE}}px;margin-right: -{{SIZE}}px;', ], ), ), ), array( 'name' => 'section_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-team-grid .pxl-item--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-team-grid .pxl-item--title', ), array( 'name' => 'pos_color', 'label' => esc_html__('Position Color', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-team-grid .pxl-item--position' => 'color: {{VALUE}};', ], ), array( 'name' => 'pos_typography', 'label' => esc_html__('Position Typography', 'berich' ), 'type' => \Elementor\Group_Control_Typography::get_type(), 'control_type' => 'group', 'selector' => '{{WRAPPER}} .pxl-team-grid .pxl-item--position', ), ), ), ), ), ), berich_get_class_widget_path() );
💾 Save Changes
❌ Cancel