We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32257d1 commit 040a888Copy full SHA for 040a888
components/parts/common/header.php
@@ -8,7 +8,7 @@
8
<strong><?php echo esc_html( get_bloginfo( 'name' ) ); ?></strong>
9
<span class="sr-only"><?php echo esc_html( get_bloginfo( 'name' ) ); ?></span>
10
</a>
11
-
+ <?php if ( has_nav_menu( 'menu-main' ) ) : ?>
12
<button class="header__menu-toggle" aria-expanded="false" aria-controls="menu">
13
<span></span>
14
<span class="sr-only aria-expanded-false-text"><?php esc_html_e( 'Open the menu', 'beapi-frontend-framework' ); ?></span>
@@ -30,6 +30,7 @@
30
?>
31
</div>
32
</nav>
33
+ <?php endif; ?>
34
35
36
</header>
0 commit comments