- Timestamp:
- 09/30/2019 05:40:14 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwenty/template-parts/modal-menu.php
r46271 r46357 18 18 <div class="menu-top"> 19 19 20 <button class="toggle close-nav-toggle fill-children-current-color" data-toggle-target=".menu-modal" data-toggle-screen-lock="true" data-toggle-body-class="showing-menu-modal" aria-expanded="false" data-set-focus=".menu-modal"> 21 <span class="toggle-text"><?php esc_html_e( 'Close Menu', 'twentytwenty' ); ?></span> 22 <?php twentytwenty_the_theme_svg( 'cross' ); ?> 23 </button><!-- .nav-toggle --> 24 20 25 <?php 21 22 // If the expanded menu is set, output the close button.23 if ( has_nav_menu( 'expanded' ) ) {24 ?>25 26 <button class="toggle close-nav-toggle fill-children-current-color" data-toggle-target=".menu-modal" data-toggle-screen-lock="true" data-toggle-body-class="showing-menu-modal" aria-expanded="false" data-set-focus=".menu-modal">27 <span class="toggle-text"><?php esc_html_e( 'Close Menu', 'twentytwenty' ); ?></span>28 <?php twentytwenty_the_theme_svg( 'cross' ); ?>29 </button><!-- .nav-toggle -->30 31 <?php32 }33 26 34 27 $mobile_menu_location = '';
Note: See TracChangeset
for help on using the changeset viewer.