diff options
Diffstat (limited to 'srcs/wordpress/wp-content/themes/twentyseventeen/template-parts/navigation/navigation-top.php')
| -rw-r--r-- | srcs/wordpress/wp-content/themes/twentyseventeen/template-parts/navigation/navigation-top.php | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/srcs/wordpress/wp-content/themes/twentyseventeen/template-parts/navigation/navigation-top.php b/srcs/wordpress/wp-content/themes/twentyseventeen/template-parts/navigation/navigation-top.php deleted file mode 100644 index 5cfc998..0000000 --- a/srcs/wordpress/wp-content/themes/twentyseventeen/template-parts/navigation/navigation-top.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/** - * Displays top navigation - * - * @package WordPress - * @subpackage Twenty_Seventeen - * @since 1.0 - * @version 1.2 - */ - -?> -<nav id="site-navigation" class="main-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Top Menu', 'twentyseventeen' ); ?>"> - <button class="menu-toggle" aria-controls="top-menu" aria-expanded="false"> - <?php - echo twentyseventeen_get_svg( array( 'icon' => 'bars' ) ); - echo twentyseventeen_get_svg( array( 'icon' => 'close' ) ); - _e( 'Menu', 'twentyseventeen' ); - ?> - </button> - - <?php - wp_nav_menu( - array( - 'theme_location' => 'top', - 'menu_id' => 'top-menu', - ) - ); - ?> - - <?php if ( ( twentyseventeen_is_frontpage() || ( is_home() && is_front_page() ) ) && has_custom_header() ) : ?> - <a href="#content" class="menu-scroll-down"><?php echo twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ); ?><span class="screen-reader-text"><?php _e( 'Scroll down to content', 'twentyseventeen' ); ?></span></a> - <?php endif; ?> -</nav><!-- #site-navigation --> |
