forked from colorlabsproject/lensa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
79 lines (70 loc) · 3.35 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
<!DOCTYPE html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--><!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8"> <![endif]--><!--[if IE 8]>
<html class="no-js lt-ie9"> <![endif]--><!--[if gt IE 8]><!-->
<html class="no-js" xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> <!--<![endif]-->
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/includes/css/framework.css">
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/includes/css/fancybox/jquery.fancybox-1.3.4.css">
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<?php
colabs_meta();
colabs_meta_head();
wp_head();
colabs_head();
global $site_title,$site_url;
$site_title = get_bloginfo( 'name' );
$site_url = home_url( '/' );
$site_description = get_bloginfo( 'description' );
?>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<?php if(get_option('colabs_disable_mobile')=='false'){?>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<?php }?>
<?php
if (is_home()){
colabs_background_slideshow();
}else if((!is_home()) && (get_option('colabs_background_slider')=='false')){
colabs_background_slideshow();
}
?>
</head>
<body <?php body_class(); ?>>
<header class="header-section container">
<div class="lensarow">
<div class="branding column col4">
<h1 class="logo">
<a href="<?php echo $site_url;?>">
<?php
if (get_option('colabs_logotitle')=='logo'){
echo '<img src="' . get_option('colabs_logo') . '" alt="' . $site_title . '" />';
} else {
echo $site_title;
} // End IF Statement
?>
</a>
</h1>
<div class="site-description"><?php echo $site_description; ?></div>
</div><!-- .branding -->
<a class="btn-navbar collapsed">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<nav class="nav-collapse lensacollapse column col8">
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'top-nav', 'container' => 'nav', 'menu_class' => '', 'fallback_cb'=>'colabs_nav_fallback') );?><!-- .topnav -->
</nav><!-- .nav-collapse -->
</div></header><!-- .header-section -->
<div class="main-container container">