CoreFiles by mySites.guru
navigation-top.php22 lines, 1,000 bytes, from wordpress-4.7.35.zip
Raw History Compare with 4.7.34
md5
e87a4c470e6bb7fe1e3956f01564b707
sha1
d2e8f0a18fc0a0cc29ec00ada8879ae7b6b01404
sha256
691c0c352f9f2e9134ddb437f5f44e3ec05eec44657f5a84e2cb647bdfb6e143
<?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 -->

The same content is in 38 releases, WordPress 4.7.4-RC1 to 4.7.40. See them all, or every version of this file.