-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
executable file
·100 lines (85 loc) · 4.47 KB
/
header.php
File metadata and controls
executable file
·100 lines (85 loc) · 4.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
<!DOCTYPE html>
<!--[if lt IE 7]><html <?php language_attributes(); ?> class="no-js lt-ie9 lt-ie8 lt-ie7"><![endif]-->
<!--[if IE 7]><html <?php language_attributes(); ?> class="no-js lt-ie9 lt-ie8"><![endif]-->
<!--[if IE 8]><html <?php language_attributes(); ?> class="no-js lt-ie9"><![endif]-->
<!--[if gt IE 8]><html <?php language_attributes(); ?> class="no-js"><![endif]-->
<head>
<meta charset="UTF-8">
<title><?php wp_title(''); ?><?php if( wp_title( '', false ) ) echo ' :'; ?> <?php bloginfo( 'name' ); ?></title>
<!-- Meta -->
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0;">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="description" content="<?php echo esc_attr( get_bloginfo( 'description' ) ); ?>">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo( 'rss_url' ); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo( 'atom_url' ); ?>" />
<?php # the following lines are generated by wordpress.
/*
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo( 'rss2_url' ); ?>" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo( 'name' ); ?> RSS Comments Feed" href="<?php bloginfo( 'comments_rss2_url' ); ?>" />
*/
?>
<link rel="shortcut icon" href="<?php echo of_get_option( 'favicon_img', get_template_directory_uri() .'/favicon.ico'); ?>">
<link rel="apple-touch-icon" href="<?php echo get_template_directory_uri(); ?>/apple-touch-icon-iphone.png" />
<link rel="apple-touch-icon" sizes="72x72" href="<?php echo get_template_directory_uri(); ?>/apple-touch-icon-ipad.png" />
<link rel="apple-touch-icon" sizes="114x114" href="<?php echo get_template_directory_uri(); ?>/apple-touch-icon-iphone4.png" />
<link rel="apple-touch-icon" sizes="144x144" href="<?php echo get_template_directory_uri(); ?>/apple-touch-icon-ipad3.png" />
<!-- CSS + jQuery + JavaScript -->
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<!-- Header -->
<header class="head">
<!-- Wrapper -->
<div class="wrapper container">
<div class="row">
<?php $template = trim( get_post_meta( $post->ID, '_wp_page_template', true ) ); ?>
<div class="<?php echo ($template == "template-full.php") ? "span12" : "span8"; ?>" >
<div class="inner">
<!-- Logo -->
<div id="logo">
<h1><a href="<?php echo home_url(); ?>" title="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?>">
<img src="<?php header_image(); ?>" height="<?php echo get_custom_header()->height; ?>" width="<?php echo get_custom_header()->width; ?>" alt="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?>" />
</a></h1>
</div>
<!--/Logo -->
<!-- Nav -->
<nav>
<div class="ribbon">
<div class=" navbar">
<div class="navbar-inner">
<div class="container">
<?php
$args = array(
'theme_location' => 'top-bar',
'depth' => 4,
'container' => false,
'menu_class' => 'nav',
'menu_id' => 'nav_menu',
'walker' => new Bootstrap_Walker_Nav_Menu()
);
wp_nav_menu( $args );
?>
</div>
</div>
</div> <!-- /navbar-->
</div> <!-- /.ribbon -->
</nav> <!-- /Nav -->
</div> <!-- /.inner -->
</div> <!-- /.span8-->
<?php if ( $template != "template-full.php" ) { ?>
<div class="span4">
<ul class="channels">
<li class="rss"><a title="Subscribe to our RSS" href="<?php echo of_get_option( 'feed_url', '/feed' ); ?>">RSS</a></li>
<li class="facebook"><a title="Follow us with Facebook" href="<?php echo of_get_option( 'facebook_url', '#' ); ?>">Facebook</a></li>
<li class="twitter"><a title="Follow us with Twitter" href="<?php echo of_get_option( 'twitter_url', '#' ); ?>">Twitter</a></li>
<li class="newsletter"><a title="Subscribe to our Newsletter" href="<?php echo of_get_option( 'mailchimp_link_url', '#' ); ?>">Newsletter</a></li>
</ul>
</div>
<?php } ?>
</div> <!-- /row -->
</div> <!-- /Wrapper -->
</header> <!-- /Header -->
<!-- Wrapper -->
<div class="wrapper container">