-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
132 lines (123 loc) · 5.23 KB
/
header.php
File metadata and controls
132 lines (123 loc) · 5.23 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
<?php
/** header.php
*
* Displays all of the <head> section and everything up till </header>
*
* @author Zlatko Gantchev
* @package The Bootstrap
* @since 1.0 - 05.02.2012
*/
?>
<!DOCTYPE html>
<html class="no-js" <?php language_attributes(); ?>>
<head>
<?php tha_head_top(); ?>
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="profile" href="http://gmpg.org/xfn/11" />
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title><?php wp_title( '«', true, 'right' ); ?></title>
<?php tha_head_bottom(); ?>
<?php wp_head(); ?>
</head>
<body>
<div class="container">
<div id="page" class="row">
<div id="before-header" class="span12">
<div id="before-header-menu">
<a href="<?php append_website_URL(''); ?>" class="before-header-menu-item" target="_blank">
advertise</a>
<a href="<?php append_website_URL(''); ?>" class="before-header-menu-item" target="_blank">
get listed</a>
<a href="<?php append_website_URL('admin'); ?>" class="before-header-menu-item" target="_blank">
client portal</a>
</div>
<div id="before-header-icons">
<a href="http://facebook.com" target="_blank"><i class="fa fa-facebook-square fa-lg"></i></a>
<a href="http://twitter.com" target="_blank"><i class="fa fa-twitter-square fa-lg"></i></a>
<a href="https://plus.google.com" target="_blank"><i class="fa fa-google-plus-square fa-lg"></i></a>
<a href="http://linkedin.com" target="_blank"><i class="fa fa-linkedin-square fa-lg"></i></a>
</div>
</div>
<header id="branding" role="banner" >
<?php tha_header_top();
wp_nav_menu( array(
'container' => 'nav',
'container_class' => 'subnav clearfix',
'theme_location' => 'header-menu',
'menu_class' => 'nav nav-pills pull-right',
'depth' => 3,
'fallback_cb' => false,
'walker' => new The_Bootstrap_Nav_Walker,
) );
?>
<div id="header-content" class="row-fluid">
<div class="span3">
<?php if ( get_header_image() ) : ?>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
<img src="<?php header_image(); ?>" width="227px" height="88px" alt="" />
</a>
<?php endif; ?>
</div>
<div class="span9 LB-ad">
<a href="http://www.appleby.on.ca/" target="_blank">
<img src="http://parentory.ca/deploy/wp-content/uploads/2015/01/generic-school-LB.jpg">
</a>
</div>
</div>
<br />
<nav id="access" role="navigation" class="col-md-12">
<h3 class="assistive-text"><?php _e( 'Main menu', 'the-bootstrap' ); ?></h3>
<div class="skip-link">
<a class="assistive-text" href="#content" title="<?php esc_attr_e( 'Skip to primary content', 'the-bootstrap' ); ?>"><?php _e( 'Skip to primary content', 'the-bootstrap' ); ?></a>
</div>
<div class="skip-link">
<a class="assistive-text" href="#secondary" title="<?php esc_attr_e( 'Skip to secondary content', 'the-bootstrap' ); ?>"><?php _e( 'Skip to secondary content', 'the-bootstrap' ); ?></a>
</div>
<?php if ( has_nav_menu( 'primary' ) OR the_bootstrap_options()->navbar_site_name OR the_bootstrap_options()->navbar_searchform ) : ?>
<div <?php the_bootstrap_navbar_class(); ?>>
<div class="navbar-inner">
<div class="container">
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<?php if ( the_bootstrap_options()->navbar_site_name ) : ?>
<span class="brand"><?php bloginfo( 'name' ); ?></span>
<?php endif;?>
<div class="nav-collapse">
<?php wp_nav_menu( array(
'theme_location' => 'primary',
'menu_class' => 'nav',
'depth' => 3,
'fallback_cb' => false,
'walker' => new The_Bootstrap_Nav_Walker,
) );
//my_navbar_search();
if ( the_bootstrap_options()->navbar_searchform ) : ?>
<form id="search-form"
class="navbar-search pull-right"
method="post"
action="<?php append_website_URL('school-search-results/'); ?>">
<div id="simpleSearch">
<input name="search-type" type="hidden" value="header-search">
<input name="search-query" class="search-field" placeholder="Search">
<input type="submit" value="" class="searchButton">
</div>
</form>
<?php endif; ?>
</div>
</div>
</div>
</div>
<?php endif; ?>
</nav><!-- #access -->
<?php if ( function_exists( 'yoast_breadcrumb' ) ) {
yoast_breadcrumb( '<nav id="breadcrumb" class="breadcrumb">', '</nav>' );
}
tha_header_bottom(); ?>
</header><!-- #branding --><?php
/* End of file header.php */
/* Location: ./wp-content/themes/the-bootstrap/header.php */