Файловый менеджер - Редактировать - /home/beautybuzzbeyond/public_html/wp-content/themes/music-night/header-left.php
Назад
<?php global $musicnight_theme_option; echo '<div class="kode-navigation-wrapper">'; // navigation if( has_nav_menu('main_menu_left') ){ if( class_exists('musicnight_menu_walker') ){ echo '<nav class="navigation" id="kode-main-navigation">'; wp_nav_menu( array( 'theme_location'=>'main_menu_left', 'container'=> '', 'menu_class'=> 'sf-menu kode-main-menu', 'walker'=> new musicnight_menu_walker() ) ); echo '</nav>'; // kode-navigation }else{ $mega_menu = get_option('mega_main_menu_options'); if(is_array($mega_menu)){ if(!in_array('main_menu_left',$mega_menu['mega_menu_locations'])){ echo '<nav class="navigation">'; wp_nav_menu( array('theme_location'=>'main_menu_left') ); echo '</nav>'; // kode-navigation }else{ wp_nav_menu( array('theme_location'=>'main_menu_left') ); } }else{ echo '<nav class="navigation">'; wp_nav_menu( array('theme_location'=>'main_menu_left') ); echo '</nav>'; // kode-navigation } } }else{ $args = array( 'sort_column' => 'menu_order, post_title', 'include' => '', 'exclude' => '', 'echo' => true, 'show_home' => false, 'menu' => '', 'container' => '', 'link_before' => '', 'link_after' => '' ); echo '<nav class="navigation" id="kode-main-navigation">'; wp_page_menu( $args ); echo '</nav>'; } echo '<div class="clear"></div>'; echo '</div>'; // kode-navigation-wrapper ?>
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка