-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
126 lines (101 loc) · 5.66 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
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, user-scalable=no">
<title><?php wp_title( '' ); ?></title>
<link href='http://fonts.googleapis.com/css?family=Oswald:400,700,300' rel='stylesheet' type='text/css' />
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('template_url'); ?>/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('template_url'); ?>/css/font-awesome.css" />
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('template_url'); ?>/css/flexslider.css" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo( 'stylesheet_url' ); ?>?cache=890" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo( 'template_url' ); ?>/css/flexslider.css" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo( 'template_url' ); ?>/css/combined.css" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo( 'template_url' ); ?>/responsive.css" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo( 'template_url' ); ?>/css/long.css" />
<link rel="stylesheet" type="text/css" href="/wp-content/plugins/ai-twitter-feeds/css/aitwitter.css" />
<?php wp_head(); ?>
<script src="<?php bloginfo( 'template_url' ); ?>/js/jquery.flexslider-min.js" type="text/javascript"></script>
<script type="text/javascript">
var bpca_script = {
'theme_url': '<?php echo get_template_directory_uri(); ?>',
'site_url': '<?php echo get_site_url(); ?>'
};
</script>
<script src="<?php bloginfo( 'template_url' ); ?>/js/script.js" type="text/javascript"></script>
<script src="<?php bloginfo( 'template_url' ); ?>/js/bpca-grid.js" type="text/javascript"></script>
<script src="<?php bloginfo( 'template_url' ); ?>/js/jquery.ba-bbq.min.js" type="text/javascript"></script>
<script src="<?php bloginfo( 'template_url' ); ?>/js/simplecalendar.js" type="text/javascript"></script>
<script src="<?php bloginfo( 'template_url' ); ?>/js/filter.js" type="text/javascript"></script>
<script src="<?php bloginfo( 'template_url' ); ?>/js/downloadable-items.js" type="text/javascript"></script>
<script src="<?php bloginfo( 'template_url' ); ?>/js/accordion.js" type="text/javascript"></script>
<script type="text/javascript">
jQuery(function($) {
$('p:empty').remove();
// $('nav#mobile-menu').mmenu({
// position: 'right'
// });
$('.top-action a.mmenu').click(function (e) {
e.preventDefault();
$('#menu').toggleClass('active');
})
$('#main').on('click', '.fb-share', function(e) {
e.preventDefault();
window.open($(this).attr('href'), 'fbShareWindow', 'height=450, width=550, top=' + ($(window).height() / 2 - 275) + ', left=' + ($(window).width() / 2 - 225) + ', toolbar=0, location=0, menubar=0, directories=0, scrollbars=0');
});
});
</script>
</head>
<body <?php body_class( $class ); ?>>
<body>
<div id="wrapper">
<header class="sticky">
<!--<div class="top-navigation">
<div class="wrapper">
<div class="new-york-state"></div>
<?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'top', 'menu_class' => 'top' ) ); ?>
<div class="clear"></div>
</div>
</div>-->
<div class="wrapper">
<div id="nygov-universal-navigation" class="nygov-universal-container" data-iframe="true" data-updated="2014-11-07 08:30">
<noscript>
<iframe width="100%" height="86px" src="//static-assets.ny.gov/load_global_menu/ajax?iframe=true" frameborder="0" style="border:none; overflow:hidden; width:100%; height:86px;" scrolling="no">
Your browser does not support iFrames
</iframe>
</noscript>
<script type="text/javascript">
var _NY = {
HOST: "static-assets.ny.gov",
BASE_HOST: "www.ny.gov",
hideSettings: true,
hideSearch: false
};
(function (document, bundle, head) {
head = document.getElementsByTagName('head')[0];
bundle = document.createElement('script');
bundle.type = 'text/javascript';
bundle.async = true;
bundle.src = "//static-assets.ny.gov/sites/all/widgets/universal-navigation/js/dist/global-nav-bundle.js";
head.appendChild(bundle);
}(document));
</script>
</div>
</div>
<div class="wrapper">
<div class="identity">
<div class="logo"><a href="<?php bloginfo( 'home' ); ?>/"><span>HUGH L. CAREY</span><span>BATTERY PARK CITY<br />AUTHORITY</span></a></div>
</div>
<div class="top-action">
<a class="mmenu"><span></span></a>
<nav id="menu">
<?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary' ) ); ?>
<form class="search-phone" action="<?php bloginfo('url') ?>">
<img src="<?php echo get_stylesheet_directory_uri() ?>/images/search.png" alt="Search" width="22" height="22"> <input type="text" name="s" value="" class="input keyword">
</form>
</nav>
</div>
<div class="clear"></div>
</div>
</header>
<div id="main">