-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
35 lines (35 loc) · 1.48 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
<?php
/**
* The header for our theme
*
* This is the template that displays all of the <head> section and everything up until <div id="content">
*
* @package Cthulhupark
*/
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<title><?php echo get_bloginfo( 'name' ); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="page">
<header id="main-header" class="main-header" style="background-image:url('<?php header_image(); ?>')">
<div class="main-header-wrapper">
<div id="blog-info" class="blog-info">
<h1 class="main-title"><a href="<?php echo site_url(); ?>"><?php echo get_bloginfo( 'name' ); ?></a></h1>
<h2 class="sub-title"><?php bloginfo( 'description' ); ?></h2>
</div>
<!--<img src="<?php header_image(); ?>" width="<?php echo get_custom_header()->width; ?>" alt="" />-->
</div>
<nav id="main-navigation" class="main-navigation">
<button class="nav-open" onclick="responsiveMenu()"><i></i><i></i><i></i></button>
<div id="navigation-container" class="navigation-container">
<?php wp_nav_menu( array( 'theme_location' => 'main-menu' ) ); ?>
</div>
</nav>
</header>