-
Notifications
You must be signed in to change notification settings - Fork 1
/
header.php
72 lines (63 loc) · 4.31 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" <?php language_attributes(); ?>> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" <?php language_attributes(); ?>> <!--<![endif]-->
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ); ?>" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="<?php bloginfo('template_url');?>/_/css/style.css">
<link rel="shortcut icon" type="image/x-icon" href="<?php bloginfo('template_url');?>/_/img/favicon.ico" />
<?php wp_head(); ?>
</head>
<body <?php hybrid_attr( 'body' ); ?>>
<div id="outer-wrap">
<div id="inner-wrap" class="clearfix">
<div class="skip-nav">
<a href="#content" class="screen-reader-text"><?php _e( 'Skip to content', 'hybrid-base' ); ?></a>
</div><!-- .skip-nav -->
<!--[if lt IE 7]>
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
<![endif]-->
<nav class="navbar navbar-dark bg-secondary navbar-general">
<div class="container">
<a class="navbar-brand" href="<?php bloginfo('url');?>" title="<?php bloginfo('name');?> - <?php bloginfo('description');?>">
<?php if (is_home()) { ?>
<h1 class="sr-only"><?php bloginfo('name');?></h1>
<?php } ?>
<img class="main-logo" src="<?php bloginfo('template_url');?>/_/img/logo.png" alt="<?php bloginfo('name');?>" title="<?php bloginfo('name');?>">
</a>
<button class="navbar-toggler d-md-none" type="button" data-toggle="collapse" data-target="#main-menu">
☰
</button>
<div class="float-right">
<div class="navbar-social float-right d-none d-md-block">
<a href="https://twitter.com/littlewebgiants" target="_blank" class="twitter-link"><i class="icon icon-twitter"></i></a>
<a href="https://www.facebook.com/littlewebgiants" target="_blank" class="facebook-link"><i class="icon icon-facebook"></i></a>
<a href="https://www.linkedin.com/company/little-web-giants" target="_blank" class="linkedin-link"><i class="icon icon-linkedin"></i></a>
</div>
<a href="<?php bloginfo('url');?>/wp-login.php" class="login btn btn-nav d-none d-md-block float-right"><i class="material-icons"></i></a>
<div id="search-toggle" class="search btn btn-nav d-none d-md-block float-right">
<div class="navbar-search">
<?php get_template_part('searchform'); ?>
</div>
<i class="material-icons"></i>
</div>
</div>
</div>
</nav>
<div class="navbar-collapse collapse navbar-expand-md d-md-block" id="main-menu">
<nav class="navbar navbar-dark navbar-main-menu " >
<div class="container">
<div class="nav-wrap clearfix" >
<div class="d-md-none navbar-mobile-search">
<?php get_template_part('searchform'); ?>
<i class="material-icons" id="mobile-search-submit"></i>
</div>
<?php get_template_part( 'menus/menu-primary' ); ?>
</div>
</div>
</nav>
</div><!--/.nav-collapse -->
<div id="main">