HEX
Server: Apache
System: Linux webd006.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: zwafgyp (177615)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/zwafgyp/dodolodge-net/wp-content/themes/hotel-wp/templates/header/main-menu.php
<?php
/**
 * Header Main Menu Template
 *
 */
?>

<?php if ( class_exists( 'Thim_Mega_Menu' ) && Thim_Mega_Menu::menu_is_enabled( 'primary' ) ) : ?>
	<div class="mega-menu-wrapper">
		<?php
		wp_nav_menu( array(
			'theme_location' => 'primary',
			'container'      => false,
			'items_wrap'     => '%3$s',
			'fallback_cb'    => 'thim_main_menu_fallback',
		) );

		//  right menu sidebar
		if ( is_active_sidebar( 'right_menu' ) ) {
			echo '<div class="menu-right">';
				dynamic_sidebar( 'right_menu' );
			echo '</div>';
		}
		?>
	</div><!-- .mega-menu-wrapper -->
<?php else: ?>
	<ul id="primary-menu" class="navbar">
		<?php
		wp_nav_menu( array(
			'theme_location' => 'primary',
			'container'      => false,
			'items_wrap'     => '%3$s',
			'fallback_cb'    => 'thim_main_menu_fallback',
		) );

		//  right menu sidebar
		if ( is_active_sidebar( 'right_menu' ) ) {
			echo '<li class="menu-right">';
				dynamic_sidebar( 'right_menu' );
			echo '</li>';
		}
		?>
	</ul><!-- #primary-menu -->
<?php endif; ?>