-
Notifications
You must be signed in to change notification settings - Fork 2
/
header.php
42 lines (38 loc) · 1.46 KB
/
header.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
/**
* The header for our theme.
*
* This is the template that displays all of the <head> section and everything up until <div id="content">
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Noah Lite
* @since Noah Lite 1.0.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
?><!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js">
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<link rel="profile" href="http://gmpg.org/xfn/11">
<?php wp_head(); ?>
</head>
<?php
/**
* The `body_class()` function is required. WordPress core and our theme should add or remove classes through this hook
*/?>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<div id="barba-wrapper" class="hfeed site">
<a class="skip-link screen-reader-text" href="#main"><?php esc_html_e( 'Skip to content', 'noah-lite' ); ?></a>
<div id="content" class="site-content barba-container js-header-height-padding-top">
<header id="masthead" <?php noahlite_header_class(); ?> role="banner">
<div class="u-header_sides_spacing">
<div class="o-wrapper u-container-width c-navbar__wrapper">
<?php get_template_part( 'template-parts/navigation/navigation-top' ); ?>
</div><!-- .o-wrapper .u-container-width -->
</div><!-- .u-header_sides_spacing -->
</header><!-- #masthead .site-header -->