-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
159 lines (135 loc) · 6.22 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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1">
<?php if ($_SERVER["SERVER_NAME"] === "seabag.us") {
// Meta tag per gli STATI UNITI
echo '<meta name="google-site-verification" content="fmYwtSw11biNinjGVtoR_4g6jh1YnM-Wl0EABkmJAtM" />';
}
?>
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,800,700' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Raleway:400,800,600' rel='stylesheet' type='text/css'>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/img/favicon.png">
<link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_directory_uri(); ?>/css/old.css">
<link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_directory_uri(); ?>/css/style.min.css">
<script type="text/javascript" src="<?php echo get_stylesheet_directory_uri(); ?>/js/modernizer.js"></script>
<title><?php bloginfo('name','display'); ?><?php wp_title( '|', true, 'left' ); ?></title>
<?php $meta = seo_danielo(cml_get_current_language()->cml_language_slug); ?>
<!-- FB -->
<meta property="og:title" content="<?php echo $meta["og_title"] ?>">
<meta property="og:type" content="<?php echo $meta["og_type"] ?>">
<meta property="og:url" content="<?php echo $meta["og_url"] ?>">
<meta property="og:image" content="<?php echo $meta["og_image"] ?>">
<meta property="og:site_name" content="<?php echo $meta["og_sitename"] ?>">
<meta property="og:description" content="<?php echo $meta["og_description"] ?>">
<!-- META -->
<meta name="description" content="<?php echo $meta["meta_description"] ?>">
<meta name="keywords" content="<?php echo $meta["meta_keywords"] ?>">
<!-- TWITTER -->
<meta name="twitter:card" content="<?php echo $meta["twitter_card"] ?>" />
<meta name="twitter:site" content="<?php echo $meta["twitter_site"] ?>" />
<meta name="twitter:title" content="<?php echo $meta["twitter_title"] ?>" />
<meta name="twitter:description" content="<?php echo $meta["twitter_description"] ?>" />
<meta name="twitter:image" content="<?php echo $meta["twitter_img"] ?>" />
<?php unset($meta) ?>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<!--[if lt IE 9]>
<script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<?php wp_head() ?>
<?php
get_template_part("analytics");
?>
<script>
var wpurl = "<?php bloginfo('wpurl'); ?>"; var wpTheme = "<?php echo get_stylesheet_directory_uri(); ?>"</script>
</head>
<body id="testata" <?php body_class() ?>>
<!-- NAVBAR TOP -->
<?php if(is_front_page()) : ?>
<div class="topbar">
<div class="logo"></div>
<div class="fakenav"></div>
<nav class="navbar navbar-fixed-top gradient">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#collassa" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<span itemscope itemtype="http://schema.org/Organization">
<a itemprop="url" class="navbar-brand hidden-xs" href="<?php get_bloginfo("site") ?>">
<strong itemprop="name" class="hidden">Seabag Original Underwater, made in Italy</strong>
<img itemprop="logo" src="<?php echo get_header_image(); ?>" alt="Seabag Original Underwater">
</a>
</span>
</div>
<nav class="collapse navbar-collapse" id="collassa">
<ul class="nav navbar-nav navbar-right">
<li id="lingua" class="dropdown">
<button type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="btn btn-default navbar-btn">
<img src="<?php $bandierina = cml_get_current_language()->id; echo cml_get_flag_by_lang_id($bandierina, $size = "tiny");?>" alt="Flag">
<span class="fa fa-caret-down"></span>
</button>
<div class="dropdown-menu">
<?php echo do_shortcode('[cml_show_available_langs]') ?>
</div>
</li>
</ul>
<?php wp_nav_menu(array('theme_location' => 'header-menu', 'items_wrap' => '<ul id="%1$s" class="nav navbar-nav navbar-right">%3$s</ul>', )) ?>
</nav>
</nav>
<div class="clearfix"></div>
</div>
<!-- END NAVBAR TOP -->
<div id="sliderTestata" class="quadro-testata carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#sliderTestata" data-slide-to="0" class="active"></li>
<li data-target="#sliderTestata" data-slide-to="1"></li>
<li data-target="#sliderTestata" data-slide-to="2"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" style="height: 100%" role="listbox">
<div class="item active">
<div class="item seabag-slide seabag-slide-1 active"></div>
</div>
<div class="item">
<div class="seabag-slide seabag-slide-2"></div>
</div>
<div class="item">
<div class="seabag-slide seabag-slide-3"></div>
</div>
</div>
<!-- Controls -->
</div>
<!--
<div id="animatedHeader" class="filmato">
<b></b>
<div class="loading"></div>
<div id="YT"></div>
<noscript>
<div class="endCover"></div>
</noscript>
</div>
-->
<div class="daBox">
<div class="giuseppe">
<header id="seabag" class="testata container-fluid">
<h1 class="text-center"><?php echo get_bloginfo( 'name', 'display' ) ?></h1>
<h5 class="text-center"><?php bloginfo('description') ?></h5>
<div class="made">
<div class="bandiera">
<span class="divisore-verde"></span>
<span class="divisore-bianco"></span>
<span class="divisore-rosso"></span>
</div>
<b>made in italy</b>
</div>
</header>
</div>
<?php endif; ?>