-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
35 lines (27 loc) · 780 Bytes
/
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
<?php
/**
* The template for displaying the head
* Displays all of the head element and everything up until the content.
*
* @package Ruffie
* @since Ruffie 1.0
*/
?>
<!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">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php
if ( function_exists( 'wp_body_open' ) ) {
wp_body_open();
}
?>
<div class="site-container">
<?php get_template_part( 'template-parts/site-header-nav' ); ?>
<?php get_template_part( 'template-parts/site-header' ); ?>
<?php get_template_part( 'template-parts/hero' ); ?>
<?php get_sidebar( 'above' ); ?>