📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-26 10:31:08
📂
/
/
home
/
pallabnv
/
public_html
/
wp-content__3bb9dea
/
themes
/
berich
/
elements
/
widgets
✏️
Editing: pxl_contact_info.php
<?php pxl_add_custom_widget( array( 'name' => 'pxl_contact_info', 'title' => esc_html__('Case Contact Info', 'berich' ), 'icon' => 'eicon-info-box', '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' => 'type', 'label' => esc_html__('Type', 'berich' ), 'type' => \Elementor\Controls_Manager::SELECT, 'options' => [ 'map' => 'Map', 'email-phone' => 'Email + Phone', ], 'default' => 'map', ), array( 'name' => 'text', 'label' => esc_html__('Text', 'berich' ), 'type' => \Elementor\Controls_Manager::TEXTAREA, 'label_block' => true, ), array( 'name' => 'link', 'label' => esc_html__('Link', 'berich' ), 'type' => \Elementor\Controls_Manager::TEXT, 'label_block' => true, 'condition' => [ 'type' => ['email-phone'], ], ), array( 'name' => 'map_iframe', 'label' => esc_html__('Map Iframe', 'berich' ), 'type' => \Elementor\Controls_Manager::TEXTAREA, 'label_block' => true, 'condition' => [ 'type' => ['map'], ], ), array( 'name' => 't_width', 'label' => esc_html__('Max Width', 'berich' ), 'type' => \Elementor\Controls_Manager::SLIDER, 'control_type' => 'responsive', 'size_units' => [ 'px', '%' ], 'range' => [ 'px' => [ 'min' => 0, 'max' => 3000, ], ], 'selectors' => [ '{{WRAPPER}} .pxl-contact-info' => 'max-width: {{SIZE}}{{UNIT}};', ], ), ), ), array( 'name' => 'section_style', 'label' => esc_html__('Style', 'berich' ), 'tab' => \Elementor\Controls_Manager::TAB_STYLE, 'controls' => array_merge( array( array( 'name' => 'text_color', 'label' => esc_html__('Color', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-contact-info .pxl-item--text' => 'color: {{VALUE}};', ], ), array( 'name' => 'text_color_hover', 'label' => esc_html__('Color Hover', 'berich' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pxl-contact-info:hover .pxl-item--text' => 'color: {{VALUE}};', '{{WRAPPER}} .pxl-contact-info' => '--primary-color: {{VALUE}};', ], ), array( 'name' => 'text_typography', 'label' => esc_html__('Typography', 'berich' ), 'type' => \Elementor\Group_Control_Typography::get_type(), 'control_type' => 'group', 'selector' => '{{WRAPPER}} .pxl-contact-info .pxl-item--text', ), array( 'name' => 'map_filter', 'label' => esc_html__('Map Filters', 'berich' ), 'type' => \Elementor\Group_Control_Css_Filter::get_type(), 'control_type' => 'group', 'selector' => '{{WRAPPER}} .pxl-item--map', ), array( 'name' => 'map_width', 'label' => esc_html__('Map Width', 'berich' ), 'type' => \Elementor\Controls_Manager::SLIDER, 'control_type' => 'responsive', 'size_units' => [ 'px' ], 'range' => [ 'px' => [ 'min' => 0, 'max' => 3000, ], ], 'selectors' => [ '{{WRAPPER}} .pxl-contact-info1 .pxl-item--map' => 'width: {{SIZE}}{{UNIT}};', ], ), array( 'name' => 'map_height', 'label' => esc_html__('Map Height', 'berich' ), 'type' => \Elementor\Controls_Manager::SLIDER, 'control_type' => 'responsive', 'size_units' => [ 'px' ], 'range' => [ 'px' => [ 'min' => 0, 'max' => 3000, ], ], 'selectors' => [ '{{WRAPPER}} .pxl-contact-info1 .pxl-item--map, {{WRAPPER}} .pxl-contact-info1 .pxl-item--map iframe' => 'height: {{SIZE}}{{UNIT}};', ], ), array( 'name' => 'map_position', 'label' => esc_html__( 'Map Position', 'berich' ), 'type' => \Elementor\Controls_Manager::CHOOSE, 'control_type' => 'responsive', 'options' => [ 'left' => [ 'title' => esc_html__( 'Left', 'berich' ), 'icon' => 'eicon-text-align-left', ], 'right' => [ 'title' => esc_html__( 'Right', 'berich' ), 'icon' => 'eicon-text-align-right', ], 'top' => [ 'title' => esc_html__( 'Top', 'berich' ), 'icon' => 'eicon-align-start-v', ], ], 'default' => 'right', 'selectors' => [ '{{WRAPPER}} .pxl-contact-info1 .pxl-item--map' => '{{VALUE}}: 100%;', '{{WRAPPER}} .pxl-contact-info1:hover .pxl-item--map .pxl-map--inner' => '-webkit-animation-name: pxlSkewIn_{{VALUE}};animation-name:pxlSkewIn_{{VALUE}};', ], ), array( 'name' => 'map_bottom_auto', 'label' => esc_html__( 'Map Bottom Auto', 'berich' ), 'type' => \Elementor\Controls_Manager::CHOOSE, 'control_type' => 'responsive', 'options' => [ 'bottom' => [ 'title' => esc_html__( 'Bottom', 'berich' ), 'icon' => 'eicon-align-end-v', ], ], 'default' => 'bottom', 'condition' => [ 'map_position' => 'top', ], 'selectors' => [ '{{WRAPPER}} .pxl-contact-info1 .pxl-item--map' => '{{VALUE}}: auto;left:0px;right:auto;transform: translate(0, 0%);', ], ), array( 'name' => 'map_left_auto', 'label' => esc_html__( 'Map Left Auto', 'berich' ), 'type' => \Elementor\Controls_Manager::CHOOSE, 'control_type' => 'responsive', 'options' => [ 'left' => [ 'title' => esc_html__( 'Left', 'berich' ), 'icon' => 'eicon-text-align-left', ], ], 'default' => 'left', 'condition' => [ 'map_position' => 'right', ], 'selectors' => [ '{{WRAPPER}} .pxl-contact-info1 .pxl-item--map' => '{{VALUE}}: auto;', ], ), array( 'name' => 'map_right_auto', 'label' => esc_html__( 'Map Right Auto', 'berich' ), 'type' => \Elementor\Controls_Manager::CHOOSE, 'control_type' => 'responsive', 'options' => [ 'right' => [ 'title' => esc_html__( 'Right', 'berich' ), 'icon' => 'eicon-text-align-right', ], ], 'default' => 'right', 'condition' => [ 'map_position' => 'left', ], 'selectors' => [ '{{WRAPPER}} .pxl-contact-info1 .pxl-item--map' => '{{VALUE}}: auto;', ], ), array( 'name' => 'map_padding', 'label' => esc_html__('Map Padding', 'berich' ), 'type' => \Elementor\Controls_Manager::DIMENSIONS, 'size_units' => [ 'px' ], 'selectors' => [ '{{WRAPPER}} .pxl-contact-info1 .pxl-item--map' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], 'control_type' => 'responsive', ), ) ), ), berich_widget_animation_settings(), ), ), ), berich_get_class_widget_path() );
💾 Save Changes
❌ Cancel