📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-26 10:28:28
📂
/
/
home
/
pallabnv
/
public_html
/
wp-content__3bb9dea
/
themes
/
berich
/
elements
/
widgets
✏️
Editing: pxl_image_box_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_image_box_carousel', 'title' => esc_html__('Case Image Box Carousel', 'berich'), 'icon' => 'eicon-image-box', 'categories' => array('pxltheme-core'), 'scripts' => array( 'swiper', 'pxl-swiper', 'gsap', 'pxl-scroll-trigger', 'pxl-splitText', ), 'params' => array( 'sections' => array( array( 'name' => 'tab_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_image_box_carousel/layout1.jpg' ], ], ), ), ), array( 'name' => 'tab_content', 'label' => esc_html__('Content', 'berich'), 'tab' => \Elementor\Controls_Manager::TAB_CONTENT, 'controls' => array( array( 'name' => 'image_box', 'label' => esc_html__('Content', 'berich'), 'type' => \Elementor\Controls_Manager::REPEATER, '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' => 'sub_title', 'label' => esc_html__('Sub Title', 'berich'), 'type' => \Elementor\Controls_Manager::TEXT, 'label_block' => true, ), array( 'name' => 'desc', 'label' => esc_html__('Description', 'berich' ), 'type' => \Elementor\Controls_Manager::TEXTAREA, 'rows' => 10, 'show_label' => false, ), array( 'name' => 'btn_text1', 'label' => esc_html__('Button Text One', 'berich'), 'type' => \Elementor\Controls_Manager::TEXT, 'label_block' => true, ), array( 'name' => 'btn_link1', 'label' => esc_html__('Button Link One', 'berich'), 'type' => \Elementor\Controls_Manager::URL, 'label_block' => true, ), array( 'name' => 'btn_text2', 'label' => esc_html__('Button Text Two', 'berich'), 'type' => \Elementor\Controls_Manager::TEXT, 'label_block' => true, ), array( 'name' => 'btn_link2', 'label' => esc_html__('Button Link Two', 'berich'), 'type' => \Elementor\Controls_Manager::URL, 'label_block' => true, ), ), 'title_field' => '{{{ title }}}', ), ), ), array( 'name' => 'section_carousel_settings', 'label' => esc_html__('Carousel Settings', 'berich'), 'tab' => \Elementor\Controls_Manager::TAB_SETTINGS, 'controls' => array( array( 'name' => 'arrows', 'label' => esc_html__('Show Arrows', 'berich'), 'type' => \Elementor\Controls_Manager::SWITCHER, 'default' => false, ), array( 'name' => 'arrows_box_color', 'label' => esc_html__('Arrows Box Color', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-swiper-arrow-wrap.style-2 .pxl-swiper-arrow:not(.pxl-active)' => 'background-color: {{VALUE}};', ], ), array( 'name' => 'arrows_color', 'label' => esc_html__('Arrows Color', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-swiper-arrow-wrap.style-2 .pxl-swiper-arrow:not(.pxl-active)' => 'color: {{VALUE}};', ], ), 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 Delay', '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' => 'drap', 'label' => esc_html__('Show Scroll Drap', 'berich'), 'type' => \Elementor\Controls_Manager::SWITCHER, 'default' => false, ), ), ), array( 'name' => 'section_style_title', 'label' => esc_html__('Style', 'berich' ), 'tab' => \Elementor\Controls_Manager::TAB_STYLE, 'controls' => array( array( 'name' => 'l_style', 'label' => esc_html__('Style', 'berich' ), 'type' => \Elementor\Controls_Manager::SELECT, 'default' => 'style-1', 'options' => [ 'style-1' => 'Style 1', 'style-2' => 'Style 2', ], ), array( 'name' => 'title_color', 'label' => esc_html__('Title Color', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-image-box .pxl-item--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-image-box .pxl-item--title', ), array( 'name' => 'title_style', 'label' => esc_html__('Title Style', 'berich' ), 'type' => \Elementor\Controls_Manager::SELECT, 'options' => [ 'style-shape' => 'Shape 1', 'style-shape2' => 'Shape 2', ], 'default' => 'style-shape', ), array( 'name' => 'color_shape1', 'label' => esc_html__('Title Color Shape 1', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-image-box .pxl-item--title .pxl-heading--shape:before, {{WRAPPER}} .pxl-image-box .pxl-item--title .pxl-heading--shape2::before' => 'background-color: {{VALUE}};', ], ), array( 'name' => 'color_shape2', 'label' => esc_html__('Title Color Shape 2', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-image-box .pxl-item--title .pxl-heading--shape::after, {{WRAPPER}} .pxl-image-box .pxl-item--title .pxl-heading--shape2::after' => 'background-color: {{VALUE}};', ], ), array( 'name' => 'content_color', 'label' => esc_html__('Content Color', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-image-box .pxl-item--description' => 'color: {{VALUE}};', ], ), array( 'name' => 'button2_color', 'label' => esc_html__('Button 2 Color', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-image-box .btn-text-more2:not(:hover)' => 'color: {{VALUE}};', ], ), array( 'name' => 'box_color', 'label' => esc_html__('Box Color', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-image-box .pxl-item--inner' => 'background-color: {{VALUE}};', ], ), array( 'name' => 'pxl_animate_title', 'label' => esc_html__('Case Animate', 'berich' ), 'type' => \Elementor\Controls_Manager::SELECT, 'options' => berich_widget_animate_v2(), 'default' => '', ), ), ), berich_widget_animation_settings(), ), ), ), berich_get_class_widget_path() );
💾 Save Changes
❌ Cancel