PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
themes
/
besa
/
widgets
<?php $type = ''; extract( $args ); extract( $instance ); $output = ''; if ($nav_menu) { $term = get_term_by( 'slug', $nav_menu, 'nav_menu' ); } $el_class = ' treeview-menu'; $output = '<div class="tbay_custom_menu wpb_content_element' . esc_attr( $el_class ) . '">'; $output .= '<div class="widget">'; if( isset($title) && !empty($title) ) { $output .= '<h2 class="widgettitle">'. $title .'</h2>'; } global $wp_widget_factory; // to avoid unwanted warnings let's check before using widget if ( !empty($term) ) { $_id = besa_tbay_random_key(); $args = array( 'menu' => $nav_menu, 'container_class' => 'menu-category-menu-container', 'menu_class' => 'menu treeview nav', 'fallback_cb' => '', 'before' => '', 'after' => '', 'echo' => false, 'menu_id' => $nav_menu.'-'.$_id, ); if( class_exists("Besa_Tbay_Custom_Nav_Menu") ){ $args['walker'] = new Besa_Tbay_Custom_Nav_Menu(); } $output .= wp_nav_menu($args); $output .= '</div>'; $output .= '</div>'; echo trim($output); } else { echo esc_html__( 'Not found in custom menu', 'besa' ); }
[+]
..
[-] custom-menu.php
[edit]
[-] video.php
[edit]
[-] socials.php
[edit]
[-] instagram.php
[edit]
[-] product-brand-image.php
[edit]
[-] single-image.php
[edit]
[-] contact-info.php
[edit]
[-] banner-image.php
[edit]
[-] woo-carousel.php
[edit]
[-] recent-post.php
[edit]
[-] popup-newsletter.php
[edit]
[-] top-rate.php
[edit]
[-] list-categories.php
[edit]
[-] popular-post.php
[edit]
[-] .widgets.php
[edit]
[-] posts.php
[edit]
[-] recent-comment.php
[edit]