📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-26 10:30:15
📂
/
/
home
/
pallabnv
/
public_html
/
wp-content__3bb9dea
/
themes
/
berich
/
elements
/
widgets
✏️
Editing: pxl_image_parallax.php
<?php pxl_add_custom_widget( array( 'name' => 'pxl_image_parallax', 'title' => esc_html__('Case Image Parallax', 'berich' ), 'icon' => 'eicon-image', 'categories' => array('pxltheme-core'), 'scripts' => array( 'tilt', 'pxl-tweenmax', ), 'params' => array( 'sections' => array( array( 'name' => 'tab_content', 'label' => esc_html__('Content', 'berich' ), 'tab' => \Elementor\Controls_Manager::TAB_CONTENT, 'controls' => array( array( 'name' => 'image', 'label' => esc_html__('Main Image', 'berich' ), 'type' => \Elementor\Controls_Manager::MEDIA, ), array( 'name' => 'image_lists', 'label' => esc_html__('Images', 'berich'), 'type' => \Elementor\Controls_Manager::REPEATER, 'controls' => array( array( 'name' => 'small_image', 'label' => esc_html__('Small Image', 'berich' ), 'type' => \Elementor\Controls_Manager::MEDIA, ), array( 'name' => 'small_image_position', 'label' => esc_html__('Position', 'berich' ), 'type' => \Elementor\Controls_Manager::SELECT, 'options' => [ 'p-top-left' => 'Top Left', 'p-top-right' => 'Top Right', 'p-bottom-left' => 'Bottom Left', 'p-bottom-right' => 'Bottom Right', ], 'default' => 'p-top-left', ), array( 'name' => 'top_positioon', 'label' => esc_html__('Top Position', 'berich' ), 'type' => \Elementor\Controls_Manager::SLIDER, 'size_units' => [ 'px', '%' ], 'control_type' => 'responsive', 'default' => [ 'size' => 0, 'unit' => '%', ], 'range' => [ '%' => [ 'min' => 0, 'max' => 100, ], ], 'selectors' => [ '{{WRAPPER}} .pxl-imagebox-parallax {{CURRENT_ITEM}}' => 'top: {{SIZE}}{{UNIT}};', ], 'condition' => [ 'small_image_position' => ['p-top-left', 'p-top-right'], ], ), array( 'name' => 'right_positioon', 'label' => esc_html__('Right Position', 'berich' ), 'type' => \Elementor\Controls_Manager::SLIDER, 'size_units' => [ 'px', '%' ], 'control_type' => 'responsive', 'default' => [ 'size' => 0, 'unit' => '%', ], 'range' => [ '%' => [ 'min' => 0, 'max' => 100, ], ], 'selectors' => [ '{{WRAPPER}} .pxl-imagebox-parallax {{CURRENT_ITEM}}' => 'right: {{SIZE}}{{UNIT}};', ], 'condition' => [ 'small_image_position' => ['p-top-right', 'p-bottom-right'], ], ), array( 'name' => 'bottom_positioon', 'label' => esc_html__('Bottom Position', 'berich' ), 'type' => \Elementor\Controls_Manager::SLIDER, 'size_units' => [ 'px', '%' ], 'control_type' => 'responsive', 'default' => [ 'size' => 0, 'unit' => '%', ], 'range' => [ '%' => [ 'min' => 0, 'max' => 100, ], ], 'selectors' => [ '{{WRAPPER}} .pxl-imagebox-parallax {{CURRENT_ITEM}}' => 'bottom: {{SIZE}}{{UNIT}};', ], 'condition' => [ 'small_image_position' => ['p-bottom-left', 'p-bottom-right'], ], ), array( 'name' => 'left_positioon', 'label' => esc_html__('Left Position', 'berich' ), 'type' => \Elementor\Controls_Manager::SLIDER, 'size_units' => [ 'px', '%' ], 'control_type' => 'responsive', 'default' => [ 'size' => 0, 'unit' => '%', ], 'range' => [ '%' => [ 'min' => 0, 'max' => 100, ], ], 'selectors' => [ '{{WRAPPER}} .pxl-imagebox-parallax {{CURRENT_ITEM}}' => 'left: {{SIZE}}{{UNIT}};', ], 'condition' => [ 'small_image_position' => ['p-top-left', 'p-bottom-left'], ], ), array( 'name' => 'z_index', 'label' => esc_html__('Z-Index', 'berich' ), 'type' => \Elementor\Controls_Manager::SLIDER, 'size_units' => [ '' ], 'range' => [ 'px' => [ 'min' => 0, 'max' => 300, ], ], 'selectors' => [ '{{WRAPPER}} .pxl-imagebox-parallax {{CURRENT_ITEM}}' => 'z-index: {{SIZE}};', ], ), array( 'name' => 'img_animation', 'label' => esc_html__('Animation', 'berich' ), 'type' => \Elementor\Controls_Manager::SELECT, 'options' => [ '' => 'None', 'wow bounce' => 'bounce', 'wow flash' => 'flash', 'wow pulse' => 'pulse', 'wow rubberBand' => 'rubberBand', 'wow shake' => 'shake', 'wow swing' => 'swing', 'wow tada' => 'tada', 'wow wobble' => 'wobble', 'wow bounceIn' => 'bounceIn', 'wow bounceInDown' => 'bounceInDown', 'wow bounceInLeft' => 'bounceInLeft', 'wow bounceInRight' => 'bounceInRight', 'wow bounceInUp' => 'bounceInUp', 'wow bounceOut' => 'bounceOut', 'wow bounceOutDown' => 'bounceOutDown', 'wow bounceOutLeft' => 'bounceOutLeft', 'wow bounceOutRight' => 'bounceOutRight', 'wow bounceOutUp' => 'bounceOutUp', 'wow fadeIn' => 'fadeIn', 'wow fadeInDown' => 'fadeInDown', 'wow fadeInDownBig' => 'fadeInDownBig', 'wow fadeInLeft' => 'fadeInLeft', 'wow fadeInLeftBig' => 'fadeInLeftBig', 'wow fadeInRight' => 'fadeInRight', 'wow fadeInRightBig' => 'fadeInRightBig', 'wow fadeInUp' => 'fadeInUp', 'wow fadeInUpBig' => 'fadeInUpBig', 'wow fadeOut' => 'fadeOut', 'wow fadeOutDown' => 'fadeOutDown', 'wow fadeOutDownBig' => 'fadeOutDownBig', 'wow fadeOutLeft' => 'fadeOutLeft', 'wow fadeOutLeftBig' => 'fadeOutLeftBig', 'wow fadeOutRight' => 'fadeOutRight', 'wow fadeOutRightBig' => 'fadeOutRightBig', 'wow fadeOutUp' => 'fadeOutUp', 'wow fadeOutUpBig' => 'fadeOutUpBig', 'wow flip' => 'flip', 'wow flipCase' => 'flipCase', 'wow flipInX' => 'flipInX', 'wow flipInY' => 'flipInY', 'wow flipOutX' => 'flipOutX', 'wow flipOutY' => 'flipOutY', 'wow lightSpeedIn' => 'lightSpeedIn', 'wow lightSpeedOut' => 'lightSpeedOut', 'wow rotateIn' => 'rotateIn', 'wow rotateInDownLeft' => 'rotateInDownLeft', 'wow rotateInDownRight' => 'rotateInDownRight', 'wow rotateInUpLeft' => 'rotateInUpLeft', 'wow rotateInUpRight' => 'rotateInUpRight', 'wow rotateOut' => 'rotateOut', 'wow rotateOutDownLeft' => 'rotateOutDownLeft', 'wow rotateOutDownRight' => 'rotateOutDownRight', 'wow rotateOutUpLeft' => 'rotateOutUpLeft', 'wow rotateOutUpRight' => 'rotateOutUpRight', 'wow hinge' => 'hinge', 'wow rollIn' => 'rollIn', 'wow rollOut' => 'rollOut', 'wow zoomInSmall' => 'zoomInSmall', 'wow zoomIn' => 'zoomInBig', 'wow zoomOut' => 'zoomOut', 'wow skewIn' => 'skewInLeft', 'wow skewInRight' => 'skewInRight', 'wow skewInBottom' => 'skewInBottom', 'wow RotatingY' => 'RotatingY', 'wow PXLfadeInUp' => 'PXLfadeInUp', 'fadeInPopup' => 'fadeInPopup', ], 'default' => '', ), array( 'name' => 'img_animate_delay_item', 'label' => esc_html__('Animate Delay', 'berich' ), 'type' => \Elementor\Controls_Manager::TEXT, 'default' => '0', 'description' => 'Enter number. Default 0ms', ), ), ), ), ), berich_widget_animation_settings(), ), ), ), berich_get_class_widget_path() );
💾 Save Changes
❌ Cancel