Files
Umbra-Bookshelf/theme/header.php
bdm 5b5303186a Establish Umbra-Bookshelf as the successor repository
Continues the Bookshelf history. The three plugins tracked there are
consolidated into umbra-bookshelf/ and this repository becomes the canonical
home for the plugin and the theme.

  bd-bookshelf/  ->  theme/     separate artifact, name unchanged
  (root specs)   ->  umbra-bookshelf/spec/  aligned to Umbra Bookshelf
  old plugin zips -> archive/pre-umbra-releases/

Adds a repository README and drops the Bookshelf closure notice.
2026-10-18 19:56:26 -07:00

58 lines
2.6 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">
<meta name="description" content="<?php bloginfo('description'); ?>">
<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">
<a href="#main-content" class="skip-link screen-reader-text">
<?php esc_html_e('Skip to content', 'bd-bookshelf'); ?>
</a>
<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-bookshelf'); ?>">
<div class="nav-container">
<button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false" aria-label="<?php esc_attr_e('Menu', 'bd-bookshelf'); ?>">
<span class="hamburger" aria-hidden="true"></span>
</button>
<?php
wp_nav_menu(array(
'theme_location' => 'primary',
'menu_id' => 'primary-menu',
'menu_class' => 'nav-menu',
'container' => false,
'fallback_cb' => function() {
echo '<ul id="primary-menu" class="nav-menu">';
echo '<li class="menu-item"><a href="' . esc_url(home_url('/')) . '">' . esc_html__('Home', 'bd-bookshelf') . '</a></li>';
echo '<li class="menu-item"><a href="' . esc_url(home_url('/books/')) . '">' . esc_html__('Books', 'bd-bookshelf') . '</a></li>';
echo '<li class="menu-item"><a href="' . esc_url(home_url('/reviews/')) . '">' . esc_html__('Reviews', 'bd-bookshelf') . '</a></li>';
echo '<li class="menu-item"><a href="' . esc_url(home_url('/blog/')) . '">' . esc_html__('Blog', 'bd-bookshelf') . '</a></li>';
echo '<li class="menu-item"><a href="' . esc_url(home_url('/about/')) . '">' . esc_html__('About', 'bd-bookshelf') . '</a></li>';
echo '</ul>';
},
));
?>
</div>
</nav>
</header>
<main id="main-content" class="site-main">