-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
149 lines (120 loc) · 6.47 KB
/
header.php
File metadata and controls
149 lines (120 loc) · 6.47 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<?php
if(isset($_COOKIE['pathcookie'])){
$pathcookie = $_COOKIE['pathcookie'] . $_SERVER['REQUEST_URI'] . "\n";
}
else{
$pathcookie = $_SERVER['REQUEST_URI'] . "\n";
}
setcookie("pathcookie", $pathcookie, time()+600, "/", "ux.nearsoft.com");
?>
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
<meta name="description" content="Nearsoft’s UX team helps software companies accelerate their business by powering up their user experience" />
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/favicon.ico" />
<title>
<?php
global $page, $paged;
wp_title( ' ', true, 'right' );
$site_description = get_bloginfo( 'description', 'display' );
if ( $site_description && ( is_home() || is_front_page() ) )
echo " $site_description";
?>
</title>
<!-- Stylesheets -->
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_directory' ); ?>/style.css">
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_directory' ); ?>/css/nearsoft.css">
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_directory' ); ?>/css/ux.css">
<link href='http://fonts.googleapis.com/css?family=Lato:400,100,300,700,900' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_directory' ); ?>/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_directory' ); ?>/css/jquery.bxslider.css" />
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_directory' ); ?>/css/twentytwenty.css" />
<link rel="stylesheet" href="<?php bloginfo( 'stylesheet_directory' ); ?>/css/remodal.css">
<link rel="stylesheet" href="<?php bloginfo( 'stylesheet_directory' ); ?>/css/remodal-default-theme.css">
<link rel="stylesheet" href="http://www.protranscript.com/embeds/toolv1/protranscript.css">
<!-- Scripts -->
<script src="<?php bloginfo( 'stylesheet_directory' ); ?>/js/jquery-3.1.1.min.js"></script>
<script src="<?php bloginfo( 'stylesheet_directory' ); ?>/js/ux.js"></script>
<script src="<?php bloginfo( 'stylesheet_directory' ); ?>/bxslider/jquery.bxslider.js"></script>
<script src="<?php bloginfo( 'stylesheet_directory' ); ?>/js/jquery.event.move.js"></script>
<script src="<?php bloginfo( 'stylesheet_directory' ); ?>/js/jquery.twentytwenty.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/swfobject/2.2/swfobject.min.js"></script>
<script src="http://a.vimeocdn.com/js/froogaloop2.min.js"></script>
<script src="<?php bloginfo( 'stylesheet_directory' ); ?>/js/protranscript.js"></script>
<script src="<?php bloginfo( 'stylesheet_directory' ); ?>/js/jquery.scrollify.min.js"></script>
<!-- Twitter Cards -->
<?php if (is_single() || is_page()){ ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@uxclinic">
<meta name="twitter:title" content="<?php the_title(); ?>">
<meta name="twitter:description" content="<?php echo substr(strip_tags(get_the_content()),0,130) . '…'; ?>">
<meta name="twitter:image" content="<?php the_post_thumbnail_url('large'); ?>">
<?php endwhile; else : ?>
<?php endif; ?>
<?php } ?>
<meta property="og:image" content="<?php the_post_thumbnail_url(); ?>" />
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,'script','https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '538049813071125');
fbq('track', "PageView");</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=538049813071125&ev=PageView&noscript=1"
/></noscript>
<?php wp_head() ?>
</head>
<body <?php body_class(); ?> id="body">
<!--
<div class="webinarpromo">
<span>Don't miss our webinar on How to increase Conversions in Travel and Hospitality on Nov 3 at 11:00am PSD<span> <a class="subs-btn" href="#int-reg">Free Registration</a>
<div class="close-webinar"></div>
</div>
-->
<nav class="top">
<?php include('_partials/nav-global.php'); ?>
<?php include('_partials/nav-local.php'); ?>
</nav>
<nav class="mobilenav">
<ul>
<?php wp_nav_menu( array( 'theme_location' => 'header-menu', 'items_wrap' => '%3$s', 'container' => false ) ); ?>
</ul>
</nav>
<!--
<div class="remodal" data-remodal-id="int-reg" role="dialog" aria-labelledby="modal1Title" aria-describedby="modal1Desc">
<button data-remodal-action="close" class="remodal-close" aria-label="Close"></button>
<div class="minilogo"></div>
<h2>Join our UX Team next Nov 3, to learn about Emerging Trends in Travel and Hospitality Industry.</h2>
-->
<!-- Begin MailChimp Signup Form -->
<!--
<div id="mc_embed_signup">
<form action="//nearsoft.us4.list-manage.com/subscribe/post?u=639555ce3b92a7d8f227cf256&id=04ff7516c7" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<div class="indicates-required"><span class="asterisk">*</span> indicates required</div>
<div class="mc-field-group">
<input type="text" value="" name="FNAME" class="required" id="mce-FNAME" placeholder="Name *">
</div>
<div class="mc-field-group">
</label>
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL" placeholder="Email Address *">
</div>
<div id="mce-responses" class="clear">
<div class="response" id="mce-error-response" style="display:none"></div>
<div class="response" id="mce-success-response" style="display:none"></div>
</div>
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_639555ce3b92a7d8f227cf256_04ff7516c7" tabindex="-1" value=""></div>
<div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button green-btn"></div>
</div>
</form>
</div>
-->
<!--End mc_embed_signup-->
<!-- </div> -->