📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-26 10:26:41
📂
/
/
home
/
pallabnv
/
public_html
/
wp-content__3bb9dea
/
themes
/
berich
/
elements
/
widgets
✏️
Editing: pxl_text_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_text_carousel', 'title' => esc_html__('Case Text Marquee', 'berich'), 'icon' => 'eicon-wordart', 'categories' => array('pxltheme-core'), 'scripts' => array( 'gsap', ), 'params' => array( 'sections' => array( array( 'name' => 'tab_content', 'label' => esc_html__('Content', 'berich'), 'tab' => \Elementor\Controls_Manager::TAB_CONTENT, 'controls' => array( array( 'name' => 'item_content', 'label' => esc_html__('Content', 'berich'), 'type' => \Elementor\Controls_Manager::REPEATER, 'controls' => array( array( 'name' => 'pxl_icon', 'label' => esc_html__('Icon', 'berich' ), 'type' => \Elementor\Controls_Manager::ICONS, 'fa4compatibility' => 'icon', ), array( 'name' => 'text', 'label' => esc_html__('Text', 'berich'), 'type' => \Elementor\Controls_Manager::TEXT, 'label_block' => true, ), ), 'title_field' => '{{{ text }}}', ), ), ), array( 'name' => 'tab_style', 'label' => esc_html__('Style', 'berich' ), 'tab' => \Elementor\Controls_Manager::TAB_STYLE, 'controls' => array( array( 'name' => 'text_color', 'label' => esc_html__('Text Color', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-text-carousel .pxl-item--text' => 'color: {{VALUE}};', ], ), array( 'name' => 'text_typography', 'label' => esc_html__('Text Typography', 'berich' ), 'type' => \Elementor\Group_Control_Typography::get_type(), 'control_type' => 'group', 'selector' => '{{WRAPPER}} .pxl-text-carousel .pxl-item--text', ), array( 'name' => 'icon_color', 'label' => esc_html__('Icon Color', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-text-carousel .pxl-item--icon' => 'color: {{VALUE}};', ], ), array( 'name' => 'icon_font_size', 'label' => esc_html__('Icon Font Size', 'berich' ), 'type' => \Elementor\Controls_Manager::SLIDER, 'control_type' => 'responsive', 'size_units' => [ 'px' ], 'range' => [ 'px' => [ 'min' => 0, 'max' => 300, ], ], 'selectors' => [ '{{WRAPPER}} .pxl-text-carousel .pxl-item--icon' => 'font-size: {{SIZE}}{{UNIT}};', ], ), array( 'name' => 'box_color', 'label' => esc_html__('Box Color', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-text-carousel1' => 'background-color: {{VALUE}};', ], ), array( 'name' => 'box_padding', 'label' => esc_html__('Box Padding', 'berich' ), 'type' => \Elementor\Controls_Manager::DIMENSIONS, 'size_units' => [ 'px' ], 'selectors' => [ '{{WRAPPER}} .pxl-text-carousel1' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], 'control_type' => 'responsive', ), ), ), berich_widget_animation_settings(), ), ), ), berich_get_class_widget_path() );
💾 Save Changes
❌ Cancel