📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-26 10:29:33
📂
/
/
home
/
pallabnv
/
public_html
/
wp-content__3bb9dea
/
themes
/
berich
/
elements
/
widgets
✏️
Editing: pxl_anchor.php
<?php $templates_df = ['0' => esc_html__('None', 'berich')]; $templates_lv1 = ['1' => esc_html__('Hidden Panel Mobile', 'berich')]; $templates = $templates_df + $templates_lv1 + berich_get_templates_option('hidden-panel') ; pxl_add_custom_widget( array( 'name' => 'pxl_anchor', 'title' => esc_html__('Case Anchor', 'berich' ), 'icon' => 'eicon-anchor', 'categories' => array('pxltheme-core'), 'params' => array( 'sections' => array( array( 'name' => 'section_content', 'label' => esc_html__('Content', 'berich' ), 'tab' => \Elementor\Controls_Manager::TAB_CONTENT, 'controls' => array( array( 'name' => 'content_template', 'label' => esc_html__('Select Template', 'berich'), 'type' => 'select', 'options' => $templates, 'default' => 'df', 'description' => 'Add new tab template: "<a href="' . esc_url( admin_url( 'edit.php?post_type=pxl-template' ) ) . '" target="_blank">Click Here</a>"', ), array( 'name' => 'icon_type', 'label' => esc_html__('Icon Type', 'berich' ), 'type' => \Elementor\Controls_Manager::SELECT, 'options' => [ 'default' => 'Default', 'menu-hidden' => 'Menu Hidden', 'icon' => 'Icon', ], 'default' => 'default', ), array( 'name' => 'icon_style', 'label' => esc_html__('Icon Style', 'berich' ), 'type' => \Elementor\Controls_Manager::SELECT, 'options' => [ 'style-1' => 'Style 1', 'style-2' => 'Style 2', ], 'default' => 'style-1', 'condition' => [ 'icon_type' => ['menu-hidden'], ], ), array( 'name' => 'pxl_icon', 'label' => esc_html__('Select Icon', 'berich' ), 'type' => \Elementor\Controls_Manager::ICONS, 'fa4compatibility' => 'icon', 'condition' => [ 'icon_type' => ['icon'], ], ), array( 'name' => 'icon_color', 'label' => esc_html__('Icon Color', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-anchor-button .pxl-icon-line::before, {{WRAPPER}} .pxl-anchor-button .pxl-icon-line::after' => 'background-color: {{VALUE}};', '{{WRAPPER}} .pxl-anchor-button' => 'color: {{VALUE}};border-color: {{VALUE}};', ], ), array( 'name' => 'icon_box_color', 'label' => esc_html__('Icon Box Color', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-anchor-button' => 'background-color: {{VALUE}};', ], 'condition' => [ 'icon_type' => ['icon','menu-hidden'], ], ), 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-anchor-button' => 'font-size: {{SIZE}}{{UNIT}};', ], 'condition' => [ 'icon_type' => ['icon'], ], ), array( 'name' => 'icon_box_width', 'label' => esc_html__('Icon Box Width', 'berich' ), 'type' => \Elementor\Controls_Manager::SLIDER, 'control_type' => 'responsive', 'size_units' => [ 'px' ], 'range' => [ 'px' => [ 'min' => 0, 'max' => 300, ], ], 'selectors' => [ '{{WRAPPER}} .pxl-anchor-button' => 'width: {{SIZE}}{{UNIT}};', ], 'condition' => [ 'icon_type' => ['icon','menu-hidden'], ], ), array( 'name' => 'icon_box_height', 'label' => esc_html__('Icon Box Height', 'berich' ), 'type' => \Elementor\Controls_Manager::SLIDER, 'control_type' => 'responsive', 'size_units' => [ 'px' ], 'range' => [ 'px' => [ 'min' => 0, 'max' => 300, ], ], 'selectors' => [ '{{WRAPPER}} .pxl-anchor-button' => 'height: {{SIZE}}{{UNIT}};', ], 'condition' => [ 'icon_type' => ['icon','menu-hidden'], ], ), array( 'name' => 'btn_border_radius', 'label' => esc_html__('Border Radius', 'berich' ), 'type' => \Elementor\Controls_Manager::DIMENSIONS, 'size_units' => [ 'px' ], 'selectors' => [ '{{WRAPPER}} .pxl-anchor-button' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], 'condition' => [ 'icon_type' => ['icon','menu-hidden'], ], ), 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-anchor-button' => 'border-style: {{VALUE}} !important;', ], 'condition' => [ 'icon_type' => ['icon','menu-hidden'], ], ), array( 'name' => 'border_width', 'label' => esc_html__( 'Border Width', 'berich' ), 'type' => \Elementor\Controls_Manager::DIMENSIONS, 'selectors' => [ '{{WRAPPER}} .pxl-anchor-button' => 'border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;', ], 'condition' => [ 'border_type!' => '', 'icon_type' => ['icon','menu-hidden'], ], 'responsive' => true, ), array( 'name' => 'border_color', 'label' => esc_html__( 'Border Color', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'default' => '', 'selectors' => [ '{{WRAPPER}} .pxl-anchor-button' => 'border-color: {{VALUE}} !important;', ], 'condition' => [ 'border_type!' => '', 'icon_type' => ['icon','menu-hidden'], ], ), array( 'name' => 'icon_label', 'label' => esc_html__('Icon Label', 'berich' ), 'type' => \Elementor\Controls_Manager::TEXT, 'label_block' => true, 'condition' => [ 'icon_type' => ['icon'], ], ), array( 'name' => 'pxl_close_animate_delay', 'label' => esc_html__('Close Popup - Animation 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