forked from cyberchimps/Eclipse
/
header.php
executable file
·135 lines (118 loc) · 3.8 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
127
128
129
130
131
132
133
134
135
<?php
/**
* Header Template
*
* Please do not edit this file. This file is part of the Cyber Chimps Framework and all modifications
* should be made in a child theme.
*
* @category CyberChimps Framework
* @package Framework
* @since 1.0
* @author CyberChimps
* @license http://www.opensource.org/licenses/gpl-license.php GPL v3.0 (or later)
* @link http://www.cyberchimps.com/
*/
?>
<!DOCTYPE html>
<!--[if lt IE 7]>
<html class="ie ie6 lte9 lte8 lte7" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 7]>
<html class="ie ie7 lte9 lte8 lte7" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html class="ie ie8 lte9 lte8" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 9]>
<html class="ie ie9" <?php language_attributes(); ?>>
<![endif]-->
<!--[if gt IE 9]>
<html <?php language_attributes(); ?>> <![endif]-->
<!--[if !IE]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>"/>
<meta name="viewport" content="width=device-width"/>
<title><?php wp_title( '' ); ?></title>
<link rel="profile" href="http://gmpg.org/xfn/11"/>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"/>
<!-- IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="<?php echo get_template_directory_uri(); ?>/inc/js/html5.js" type="text/javascript"></script>
<![endif]-->
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="top_header" class="container-full-width">
<div class="container">
<div id="wrapper" class="container-fluid">
<div class="row-fluid">
<div class="span6">
<div class="top-head-description">
<?php echo get_bloginfo( 'description' ); ?>
</div>
<!-- description -->
</div>
<!-- span 6 -->
<div class="top-head-social span6">
<?php cyberchimps_header_social_icons(); ?>
</div>
<!-- top head social -->
</div>
<!-- row fluid -->
</div>
<!-- wrapper -->
</div>
<!-- container -->
</div>
<!-- top header -->
<div id="main_header" class="container-full-width">
<div class="container">
<div id="wrapper" class="container-fluid">
<div class="row-fluid">
<div class="span6">
<?php do_action( 'cyberchimps_header' ); ?>
</div>
<div class="span6">
<?php do_action( 'cyberchimps_before_navigation' ); ?>
<nav id="navigation" role="navigation">
<div class="main-navigation navbar">
<div class="navbar-inner">
<div class="container">
<?php /* hide collapsing menu if not responsive */
if (cyberchimps_get_option( 'responsive_design', 'checked' )): ?>
<div class="nav-collapse collapse">
<?php endif; ?>
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav', 'walker' => new cyberchimps_walker(), 'fallback_cb' => 'cyberchimps_fallback_menu' ) ); ?>
<?php /* hide collapsing menu if not responsive */
if (cyberchimps_get_option( 'responsive_design', 'checked' )): ?>
</div>
<!-- collapse -->
<!-- .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 endif; ?>
</div>
<!-- container -->
</div>
<!-- .navbar-inner .row-fluid -->
</div>
<!-- main-navigation navbar -->
</nav>
<!-- #navigation -->
<?php do_action( 'cyberchimps_after_navigation' ); ?>
</div>
<!-- nav span 6 -->
</div>
<!-- row-fluid -->
</div>
<!-- wrapper -->
</div>
<!-- container -->
</div>
<!-- main header -->
<?php do_action( 'cyberchimps_before_wrapper' ); ?>