Anti Christ Thin Veil Header
**Site relevance:** Anti-Christ.net
**Memory type:** theme source memory
**Source path:** Anti-Christ.net/wp-content/themes/anti-christ-thin-veil/header.php
**Size:** 2.2 KB
Summary
@package Anti Christ Thin Veil
Source Preview
This source file is short enough to preview directly on its source-memory page.
<?php
/**
* Header template.
*
* @package Anti_Christ_Thin_Veil
*/
?><!doctype html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<a class="skip-link screen-reader-text" href="#primary"><?php esc_html_e( 'Skip to content', 'anti-christ-thin-veil' ); ?></a>
<header class="site-header" role="banner">
<div class="header-inner">
<div class="site-branding">
<?php if ( has_custom_logo() ) : ?>
<?php the_custom_logo(); ?>
<a class="brand-mark" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
<span>
<span class="brand-name"><?php bloginfo( 'name' ); ?></span>
<span class="brand-subtitle"><?php esc_html_e( 'Gothic civic archive', 'anti-christ-thin-veil' ); ?></span>
</span>
</a>
<?php else : ?>
<a class="brand-mark" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
<img src="<?php echo esc_url( get_template_directory_uri() . '/assets/img/thin-veil-sigil.svg' ); ?>" alt="" width="42" height="42">
<span>
<span class="brand-name"><?php bloginfo( 'name' ); ?></span>
<span class="brand-subtitle"><?php esc_html_e( 'Gothic civic archive', 'anti-christ-thin-veil' ); ?></span>
</span>
</a>
<?php endif; ?>
</div>
<button class="nav-toggle" type="button" data-menu-toggle aria-controls="site-navigation" aria-expanded="false">
<span aria-hidden="true"></span><?php esc_html_e( 'Menu', 'anti-christ-thin-veil' ); ?>
</button>
<nav id="site-navigation" class="primary-nav" aria-label="<?php esc_attr_e( 'Primary navigation', 'anti-christ-thin-veil' ); ?>">
<?php
wp_nav_menu(
array(
'theme_location' => 'primary',
'menu_class' => 'primary-menu',
'container' => false,
'fallback_cb' => 'actv_primary_menu_fallback',
)
);
?>
</nav>
<a class="member-entry-link" href="<?php echo esc_url( actv_page_url( 'members' ) ); ?>">
<?php echo is_user_logged_in() ? esc_html__( 'Member Desk', 'anti-christ-thin-veil' ) : esc_html__( 'Member Gate', 'anti-christ-thin-veil' ); ?>
</a>
</div>
</header>