📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-26 10:27:43
📂
/
/
home
/
pallabnv
/
public_html
/
wp-content__3bb9dea
/
themes
/
berich
/
elements
/
widgets
✏️
Editing: pxl_partner_carousel.php
<?php $slides_to_show = range( 1, 10 ); $slides_to_show = array_combine( $slides_to_show, $slides_to_show ); pxl_add_custom_widget( array( 'name' => 'pxl_partner_carousel', 'title' => esc_html__('Case Partner Carousel', 'berich'), 'icon' => 'eicon-person', 'categories' => array('pxltheme-core'), 'scripts' => array( 'swiper', 'pxl-swiper', ), 'params' => array( 'sections' => array( array( 'name' => 'section_content', 'label' => esc_html__('Content', 'berich'), 'tab' => \Elementor\Controls_Manager::TAB_CONTENT, 'controls' => array( array( 'name' => 'partner', 'label' => esc_html__('Partner', 'berich'), 'type' => \Elementor\Controls_Manager::REPEATER, 'controls' => array( array( 'name' => 'logo', 'label' => esc_html__('Logo', 'berich' ), 'type' => \Elementor\Controls_Manager::MEDIA, ), array( 'name' => 'link', 'label' => esc_html__('Link', 'berich'), 'type' => \Elementor\Controls_Manager::URL, 'label_block' => true, ), ), ), ), ), array( 'name' => 'section_settings_carousel', 'label' => esc_html__('Settings', 'berich'), 'tab' => \Elementor\Controls_Manager::TAB_SETTINGS, 'controls' => array( 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' => '3', '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' => '3', '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' => '3', 'options' => [ '1' => '1', '2' => '2', '3' => '3', '4' => '4', '5' => '5', '6' => '6', ], ), array( 'name' => 'col_xxl', 'label' => esc_html__('Columns XXL Devices', 'berich' ), 'type' => \Elementor\Controls_Manager::SELECT, 'default' => '3', 'options' => [ '1' => '1', '2' => '2', '3' => '3', '4' => '4', '5' => '5', '6' => '6', ], ), array( 'name' => 'slides_to_scroll', 'label' => esc_html__('Slides to scroll', 'berich' ), 'type' => \Elementor\Controls_Manager::SELECT, 'default' => '1', 'options' => [ '1' => '1', '2' => '2', '3' => '3', '4' => '4', '5' => '5', '6' => '6', ], ), array( 'name' => 'arrows', 'label' => esc_html__('Show Arrows', 'berich'), 'type' => \Elementor\Controls_Manager::SWITCHER, 'default' => false, ), array( 'name' => 'arrow_version', 'label' => esc_html__('Arrows Style', 'berich' ), 'type' => \Elementor\Controls_Manager::SELECT, 'options' => [ 'style-light' => 'Light', 'style-dark' => 'Dark', ], 'default' => 'style-light', ), array( 'name' => 'arrows_label', 'label' => esc_html__('Arrows Label', 'berich'), 'type' => \Elementor\Controls_Manager::TEXT, 'condition' => [ 'arrows' => 'true' ] ), array( 'name' => 'pagination', 'label' => esc_html__('Show Pagination', 'berich'), 'type' => \Elementor\Controls_Manager::SWITCHER, 'default' => false, ), array( 'name' => 'pagination_type', 'label' => esc_html__('Pagination Type', 'berich' ), 'type' => \Elementor\Controls_Manager::SELECT, 'default' => 'bullets', 'options' => [ 'bullets' => 'Bullets', 'fraction' => 'Fraction', ], 'condition' => [ 'pagination' => 'true' ] ), array( 'name' => 'pause_on_hover', 'label' => esc_html__('Pause on Hover', 'berich'), 'type' => \Elementor\Controls_Manager::SWITCHER, 'default' => false, ), array( 'name' => 'autoplay', 'label' => esc_html__('Autoplay', 'berich'), 'type' => \Elementor\Controls_Manager::SWITCHER, 'default' => false, ), array( 'name' => 'autoplay_speed', 'label' => esc_html__('Autoplay Speed', 'berich'), 'type' => \Elementor\Controls_Manager::NUMBER, 'default' => 5000, 'condition' => [ 'autoplay' => 'true' ] ), array( 'name' => 'infinite', 'label' => esc_html__('Infinite Loop', 'berich'), 'type' => \Elementor\Controls_Manager::SWITCHER, 'default' => false, ), array( 'name' => 'speed', 'label' => esc_html__('Animation Speed', 'berich'), 'type' => \Elementor\Controls_Manager::NUMBER, 'default' => 500, ), ), ), array( 'name' => 'section_style', 'label' => esc_html__('Style', 'berich' ), 'tab' => \Elementor\Controls_Manager::TAB_STYLE, 'controls' => array( array( 'name' => 'border_type', 'label' => esc_html__( 'Border Type', 'berich' ), 'type' => \Elementor\Controls_Manager::SELECT, 'options' => [ '' => esc_html__( 'None', 'berich' ), 'solid' => esc_html__( 'Solid', 'berich' ), 'double' => esc_html__( 'Double', 'berich' ), 'dotted' => esc_html__( 'Dotted', 'berich' ), 'dashed' => esc_html__( 'Dashed', 'berich' ), 'groove' => esc_html__( 'Groove', 'berich' ), ], 'selectors' => [ '{{WRAPPER}} .pxl-item--logo img' => 'border-style: {{VALUE}} !important;', ], ), array( 'name' => 'border_width', 'label' => esc_html__( 'Border Width', 'berich' ), 'type' => \Elementor\Controls_Manager::DIMENSIONS, 'selectors' => [ '{{WRAPPER}} .pxl-item--logo img' => 'border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;', ], 'condition' => [ 'border_type!' => '', ], 'responsive' => true, ), array( 'name' => 'border_color', 'label' => esc_html__( 'Border Color', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'default' => '', 'selectors' => [ '{{WRAPPER}} .pxl-item--logo img' => 'border-color: {{VALUE}} !important;', ], 'condition' => [ 'border_type!' => '', ], ), ), ), berich_widget_animation_settings(), ), ), ), berich_get_class_widget_path() );
💾 Save Changes
❌ Cancel