This repository was archived by the owner on Apr 18, 2020. It is now read-only.
forked from Grotax/grotaxblog
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
42 lines (37 loc) · 1.39 KB
/
header.php
File metadata and controls
42 lines (37 loc) · 1.39 KB
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
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div class="blog-header">
<div>
<a class="blog-title" href="<?php bloginfo('url')?>"><?php bloginfo('name')?></a>
</div>
<div class="blog-description">
<?php bloginfo('description')?>
</div>
</div>
<div class="blog-masthead">
<nav class="navbar navbar-expand-md">
<button class="navbar-toggler custom-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<?php /* Primary navigation */
wp_nav_menu( array(
'menu' => 'header-menu',
'theme_location' => 'header-menu',
'depth' => 2,
'container' => false,
'menu_class' => 'navbar-nav mr-auto',
'walker' => new wp_bootstrap_navwalker())
);
?>
</div>
</nav>
</div>
<div class="container-fluid blog-container">