-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathheader-front.php
85 lines (77 loc) · 2.75 KB
/
header-front.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
73
74
75
76
77
78
79
80
81
82
83
84
85
<?php
/**
* The header for our theme.
*
* Displays all of the <head> section and everything up till <div id="content">
*
* @package understrap
*/
/* $container = get_theme_mod( 'understrap_container_type' ); */
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-26591999-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-26591999-1');
</script>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-title" content="<?php bloginfo( 'name' ); ?> - <?php bloginfo( 'description' ); ?>">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="icon" type="image/png" sizes="32x32" href="<?php echo get_stylesheet_directory_uri(); ?>/favicon32.png">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<!-- Fonts: https://fonts.google.com/specimen/Karla?selection.family=Karla:700|Montserrat:400,600 -->
<link href="https://fonts.googleapis.com/css?family=Karla:700|Montserrat:400,600" rel="stylesheet">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div class="hfeed site" id="page">
<!-- ******************* The Navbar Area ******************* -->
<!-- Flex Header with Content -->
<div id="wrapper-navbar" class="wrapper">
<div class="container-fluid notFull">
<div class="row">
<div class="col-md-3 col-sm-12 logo">
<?php
the_custom_logo();
if (!has_custom_logo()) {
?>
<a href="/">
<img src="<?php echo get_template_directory_uri(); ?>/assets/logo.svg" width="259" height="105" />
</a>
<?php } ?>
</div>
<div class="col-md-4 offset-md-5 col-sm-12">
<?php get_search_form(); ?>
</div>
</div>
<div class="row">
<div class="col-md-9 offset-md-3 col-sm-12">
<nav class="navbar navbar-expand-md navbar-dark navbar-custom">
<!-- The WordPress Menu goes here -->
<?php wp_nav_menu(
array(
'theme_location' => 'primary',
'container_class' => '',
'container_id' => '',
'menu_class' => 'navbar-marcin',
'fallback_cb' => '',
'menu_id' => '',
'depth' => 2,
'item_spacing' => 'discard',
)
); ?>
</nav>
</div>
</div>
</div>
</div>
<!-- ******************* End of The Navbar Area ******************* -->