-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader-blog.php
32 lines (29 loc) · 1.42 KB
/
header-blog.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
<!DOCTYPE html>
<html lang="<?php language_attributes(); ?>">
<head>
<!-- Required meta tags -->
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<?php wp_head(); ?>
<body <?php body_class(); ?>>
<!-- Header Section Start -->
<header id="hero-area">
<!-- Navbar Start -->
<nav class="navbar navbar-expand-md bg-inverse fixed-top scrolling-navbar">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<a href="<?php echo esc_url(home_url()); ?>" class="navbar-brand"><img src="<?php echo esc_attr(get_template_directory_uri()); ?>/assets/img/logo.png" alt=""></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<i class="lni-menu"></i>
</button>
<div class="collapse navbar-collapse menu-white" id="navbarCollapse">
<ul class="navbar-nav mr-auto w-100 justify-content-end clearfix">
<li class="nav-item">
<a class="nav-link" href="<?php echo esc_url(home_url()); ?>">Home</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<!-- Header Section End -->