mirror of
https://ghproxy.net/https://github.com/AlxMedia/curver.git
synced 2025-08-28 04:06:16 +08:00
wrap-nav id and wrap-nav class for all menus
This commit is contained in:
parent
85f387be2b
commit
ee0197a706
4 changed files with 11 additions and 7 deletions
|
@ -54,7 +54,7 @@
|
|||
<div id="header-middle" class="container-inner">
|
||||
|
||||
<?php if ( has_nav_menu('mobile') ): ?>
|
||||
<div id="wrap-nav-mobile">
|
||||
<div id="wrap-nav-mobile" class="wrap-nav">
|
||||
<?php \AlxMedia\Nav::nav_menu(array('theme_location'=>'mobile','menu_id' => 'nav-mobile','fallback_cb'=> false)); ?>
|
||||
|
||||
<?php if ( get_theme_mod( 'header-search', 'on' ) == 'on' ): ?>
|
||||
|
@ -72,7 +72,7 @@
|
|||
<?php endif; ?>
|
||||
|
||||
<?php if ( has_nav_menu('header') ): ?>
|
||||
<div id="wrap-nav-header">
|
||||
<div id="wrap-nav-header" class="wrap-nav">
|
||||
<?php \AlxMedia\Nav::nav_menu(array('theme_location'=>'header','menu_id' => 'nav-header','fallback_cb'=> false)); ?>
|
||||
|
||||
<?php if ( get_theme_mod( 'header-search', 'on' ) == 'on' ): ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue