📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-26 10:29:22
📂
/
/
home
/
pallabnv
/
public_html
/
wp-content__3bb9dea
/
themes
/
berich
/
elements
/
widgets
✏️
Editing: pxl_menu_hidden_sidebar.php
<?php $menus = get_terms( 'nav_menu', array( 'hide_empty' => false ) ); $pxl_menus = array( '' => esc_html__('Default', 'berich') ); if ( is_array( $menus ) && ! empty( $menus ) ) { foreach ( $menus as $value ) { if ( is_object( $value ) && isset( $value->name, $value->slug ) ) { $pxl_menus[ $value->slug ] = $value->name; } } } else { $pxl_menus = ''; } pxl_add_custom_widget( array( 'name' => 'pxl_menu_hidden_sidebar', 'title' => esc_html__('Case Menu Hidden Sidebar', 'berich'), 'icon' => 'eicon-nav-menu', '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' => 'logo', 'label' => esc_html__('Logo', 'berich' ), 'type' => \Elementor\Controls_Manager::MEDIA, ), array( 'name' => 'logo_link', 'label' => esc_html__('Link', 'berich' ), 'type' => \Elementor\Controls_Manager::URL, ), array( 'name' => 'menu', 'label' => esc_html__('Select Menu', 'berich'), 'type' => \Elementor\Controls_Manager::SELECT, 'options' => $pxl_menus, ), array( 'name' => 'lists', 'label' => esc_html__('Content', 'berich'), 'type' => \Elementor\Controls_Manager::REPEATER, 'controls' => array( array( 'name' => 'content', 'label' => esc_html__('Content', 'berich' ), 'type' => \Elementor\Controls_Manager::TEXTAREA, 'rows' => 10, 'show_label' => false, ), array( 'name' => 'link', 'label' => esc_html__('Link', 'berich'), 'type' => \Elementor\Controls_Manager::URL, 'label_block' => true, ), ), 'title_field' => '{{{ content }}}', ), ), ), array( 'name' => 'section_style', 'label' => esc_html__('Style', 'berich' ), 'tab' => \Elementor\Controls_Manager::TAB_STYLE, 'controls' => array( array( 'name' => 'logo_height', 'label' => esc_html__('Logo Height', 'berich' ), 'type' => \Elementor\Controls_Manager::SLIDER, 'description' => esc_html__('Enter number.', 'berich' ), 'range' => [ 'px' => [ 'min' => 0, 'max' => 3000, ], ], 'control_type' => 'responsive', 'selectors' => [ '{{WRAPPER}} .pxl-logo img' => 'max-height: {{SIZE}}{{UNIT}};', ], ), ), ), berich_widget_animation_settings(), ), ), ), berich_get_class_widget_path() );
💾 Save Changes
❌ Cancel