Edit File by line
/home/barbar84/www/wp-conte.../themes/twentytw.../template.../header
File: site-nav.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Displays the site navigation.
[2] Fix | Delete
*
[3] Fix | Delete
* @package WordPress
[4] Fix | Delete
* @subpackage Twenty_Twenty_One
[5] Fix | Delete
* @since Twenty Twenty-One 1.0
[6] Fix | Delete
*/
[7] Fix | Delete
[8] Fix | Delete
?>
[9] Fix | Delete
[10] Fix | Delete
<?php if ( has_nav_menu( 'primary' ) ) : ?>
[11] Fix | Delete
<nav id="site-navigation" class="primary-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Primary menu', 'twentytwentyone' ); ?>">
[12] Fix | Delete
<div class="menu-button-container">
[13] Fix | Delete
<button id="primary-mobile-menu" class="button" aria-controls="primary-menu-list" aria-expanded="false">
[14] Fix | Delete
<span class="dropdown-icon open"><?php esc_html_e( 'Menu', 'twentytwentyone' ); ?>
[15] Fix | Delete
<?php echo twenty_twenty_one_get_icon_svg( 'ui', 'menu' ); // phpcs:ignore WordPress.Security.EscapeOutput ?>
[16] Fix | Delete
</span>
[17] Fix | Delete
<span class="dropdown-icon close"><?php esc_html_e( 'Close', 'twentytwentyone' ); ?>
[18] Fix | Delete
<?php echo twenty_twenty_one_get_icon_svg( 'ui', 'close' ); // phpcs:ignore WordPress.Security.EscapeOutput ?>
[19] Fix | Delete
</span>
[20] Fix | Delete
</button><!-- #primary-mobile-menu -->
[21] Fix | Delete
</div><!-- .menu-button-container -->
[22] Fix | Delete
<?php
[23] Fix | Delete
wp_nav_menu(
[24] Fix | Delete
array(
[25] Fix | Delete
'theme_location' => 'primary',
[26] Fix | Delete
'menu_class' => 'menu-wrapper',
[27] Fix | Delete
'container_class' => 'primary-menu-container',
[28] Fix | Delete
'items_wrap' => '<ul id="primary-menu-list" class="%2$s">%3$s</ul>',
[29] Fix | Delete
'fallback_cb' => false,
[30] Fix | Delete
)
[31] Fix | Delete
);
[32] Fix | Delete
?>
[33] Fix | Delete
</nav><!-- #site-navigation -->
[34] Fix | Delete
<?php endif; ?>
[35] Fix | Delete
[36] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function