Changeset 46357 for trunk/src/wp-content/themes/twentytwenty/header.php
- Timestamp:
- 09/30/2019 05:40:14 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwenty/header.php
r46271 r46357 17 17 <head> 18 18 19 <meta http-equiv="content-type" content="<?php bloginfo( 'html_type' ); ?>" charset="<?php bloginfo( 'charset' ); ?>" />19 <meta charset="<?php bloginfo( 'charset' ); ?>"> 20 20 <meta name="viewport" content="width=device-width, initial-scale=1.0" > 21 21 … … 49 49 <button class="toggle search-toggle mobile-search-toggle" data-toggle-target=".search-modal" data-toggle-screen-lock="true" data-toggle-body-class="showing-search-modal" data-set-focus=".search-modal .search-field" aria-expanded="false"> 50 50 <div class="toggle-inner"> 51 <?php twentytwenty_the_theme_svg( 'search' ); ?> 51 <div class="toggle-icon"> 52 <?php twentytwenty_the_theme_svg( 'search' ); ?> 53 </div> 52 54 <span class="toggle-text"><?php _e( 'Search', 'twentytwenty' ); // phpcs:ignore WordPress.Security.EscapeOutput.UnsafePrintingFunction -- core trusts translations ?></span> 53 55 </div> … … 70 72 <button class="toggle nav-toggle mobile-nav-toggle" data-toggle-target=".menu-modal" data-toggle-screen-lock="true" data-toggle-body-class="showing-menu-modal" aria-expanded="false" data-set-focus=".close-nav-toggle"> 71 73 <div class="toggle-inner"> 72 <?php twentytwenty_the_theme_svg( 'ellipsis' ); ?> 74 <div class="toggle-icon"> 75 <?php twentytwenty_the_theme_svg( 'ellipsis' ); ?> 76 </div> 73 77 <span class="toggle-text"><?php _e( 'Menu', 'twentytwenty' ); // phpcs:ignore WordPress.Security.EscapeOutput.UnsafePrintingFunction -- core trusts translations ?></span> 74 78 </div> … … 83 87 ?> 84 88 85 <div class="primary-menu-wrapper"> 86 87 <nav aria-label="<?php esc_attr_e( 'Primary', 'twentytwenty' ); ?>"> 89 <nav class="primary-menu-wrapper" aria-label="<?php esc_attr_e( 'Horizontal', 'twentytwenty' ); ?>" role="navigation"> 88 90 89 91 <ul class="primary-menu reset-list-style"> … … 116 118 </ul> 117 119 118 </nav><!-- .primary-menu --> 119 120 </div><!-- .primary-menu-wrapper --> 120 </nav><!-- .primary-menu-wrapper --> 121 121 122 122 <?php … … 146 146 <div class="toggle-inner"> 147 147 <span class="toggle-text"><?php _e( 'Menu', 'twentytwenty' ); // phpcs:ignore WordPress.Security.EscapeOutput.UnsafePrintingFunction -- core trusts translations ?></span> 148 <?php twentytwenty_the_theme_svg( 'ellipsis' ); ?> 148 <div class="toggle-icon"> 149 <?php twentytwenty_the_theme_svg( 'ellipsis' ); ?> 150 </div> 149 151 </div> 150 152 </button><!-- .nav-toggle -->
Note: See TracChangeset
for help on using the changeset viewer.