Files

31 lines
1.1 KiB
PHP

<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo("charset"); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="<?php bloginfo("stylesheet_url"); ?>" />
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<header>
<nav>
<div id="nav-grid">
<div class="logo">
<a href="<?php echo esc_url(home_url("/")); ?>">
<img src="<?php echo esc_url(get_site_icon_url()); ?>" alt="<?php echo esc_attr(get_bloginfo("name")); ?>" />
<span><?php bloginfo("name"); ?></span>
</a>
</div>
<input type="checkbox" id="nav-toggle" class="nav-toggle" />
<label for="nav-toggle" class="nav-toggle-label" aria-label="<?php esc_attr_e("Meny", "super-simple-wp-theme"); ?>">
<span></span>
</label>
<?php
wp_nav_menu( array(
"theme_location" => "header-menu",
"container_class" => "header-menu-class" ) );
?>
</div>
</nav>
</header>