-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathheader.php
More file actions
97 lines (82 loc) · 3.4 KB
/
header.php
File metadata and controls
97 lines (82 loc) · 3.4 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
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
86
87
88
89
90
91
92
93
94
95
96
97
<?php
/**
* The header for our theme.
*
* Displays all of the <head> section and everything up till <div id="content">
*
* @package obsub
*/
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo('charset'); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
<?php wp_head(); ?>
<!-- Lead Forensics -->
<script type=“text/javascript” src=“http://www.qlzn6i1l.com/js/142182.js” ></script>
<noscript><img alt=“” src=“http://www.qlzn6i1l.com/142182.png” style=“display:none;” /></noscript>
<!-- /Lead Forensics -->
<!-- Leady -->
<script type="text/javascript">
var leady_track_key="Fp0r1i9plXHTcOOg";
(function(){
var l=document.createElement("script");l.type="text/javascript";l.async=true;
l.src='https://t.leady.com/'+leady_track_key+"/L.js";
var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(l,s);
})();
</script>
<!-- /Leady -->
<?php if (is_page('contact') || is_singular('case_study')) : ?>
<script src='https://www.google.com/recaptcha/api.js' async></script>
<?php endif ;?>
</head>
<body <?php body_class( os_get_body_class() ); ?> >
<div id="page" class="hfeed site">
<a class="skip-link screen-reader-text" href="#content"><?php _e('Skip to content', 'obsub'); ?></a>
<header id="masthead" class="site-header <?php echo (is_front_page()) ? 'show-preview-menu' : ''; ?> " role="banner">
<div class="outer-container">
<div class="site-title">
<a href="<?php echo esc_url(home_url('/')); ?>" class="wordmark dark" rel="home"><span class="hide"><?php bloginfo('name'); ?></span></a>
<a href="<?php echo esc_url(home_url('/')); ?>" class="wordmark light" rel="home"><span class="hide"><?php bloginfo('name'); ?></span></a>
</div>
<!-- <ul class="preview-nav list-unstyled mt-nudge">
<li class="menu-item future-A mt-nudge">
<a href="work" >work</a>
</li>
<li class="menu-item page-profile future-A mt-nudge">
<a href="about">about</a>
</li>
<li class="menu-item page-contact future-A mt-nudge">
<a href="contact">contact</a>
</li> -->
<?php wp_nav_menu(array('menu_class' => 'preview-nav future-A h3 list-unstyled mt-nudge')) ?>
</div>
<!-- <nav id="site-navigation" class="main-navigation future-A" role="navigation">
<div class="main-menu outer-container">
<ul class="inner-container">
<li class="menu-item case_study h2 mt-nudge">
<span>case studies</span>
<ul class="sub-menu">
<?php $case_studies = get_case_studies(array( 'orderby'=>'title' ));
foreach ($case_studies as $study) : ?>
<li class="menu-item sub-menu-item h2 mt-nudge <?php echo 'cs-' . $study->post_name; ?>">
<a href="<?php echo get_the_permalink($study->ID); ?>"><?php echo get_the_title($study->ID); ?></a>
</li>
<?php endforeach; ?>
</ul>
</li>
<li class="menu-item page-profile h2 mt-nudge">
<a href="<?php echo site_url('/profile'); ?>">profile</a>
</li>
<li class="menu-item page-contact h2 mt-nudge">
<a href="<?php echo site_url('/contact'); ?>">contact</a>
</li>
</ul>
</div>
</nav> -->
<div class="main-menu-scrim"></div>
</header><!-- #masthead -->
<div id="content" class="site-content <?php echo $post->post_name; ?>">