Files
Umbra-Bookshelf/Old/bd-murphy-author/header.php
2026-10-18 19:02:23 -07:00

38 lines
1.4 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="profile" href="https://gmpg.org/xfn/11">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<div id="page" class="site">
<header id="masthead" class="site-header">
<?php if (get_header_image()) : ?>
<div class="header-banner">
<img src="<?php header_image(); ?>" alt="<?php bloginfo('name'); ?>" class="header-image">
</div>
<?php endif; ?>
<nav id="site-nav" class="site-nav" role="navigation" aria-label="<?php esc_attr_e('Primary Menu', 'bd-murphy'); ?>">
<div class="nav-container">
<button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false">
<span class="screen-reader-text"><?php esc_html_e('Menu', 'bd-murphy'); ?></span>
<span class="hamburger"></span>
</button>
<?php
wp_nav_menu(array(
'theme_location' => 'primary',
'menu_id' => 'primary-menu',
'container_class' => 'nav-menu-container',
));
?>
</div>
</nav>
</header>
<main id="main" class="site-main">