-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathheader.php
executable file
·106 lines (91 loc) · 4.98 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
<?php
global $TEDxMenus;
$template_url = get_template_directory_uri();
?>
<!doctype html>
<html <?php language_attributes(); ?> class="no-js" ng-app="TEDxTheme">
<head>
<meta charset="<?php bloginfo('charset'); ?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="<?php bloginfo('description'); ?>">
<title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' :'; } ?> <?php bloginfo('name'); ?></title>
<link href="//www.google-analytics.com" rel="dns-prefetch">
<!-- Facebook -->
<meta property="og:locale" content="pt_BR">
<meta property="og:url" content="http://www.tedxpelourinho.com/">
<meta property="og:title" content="TEDxPelourinho 2015: Liberdade!">
<meta property="og:site_name" content="TEDxPelourinho">
<meta property="og:description" content="O TEDxPelourinho foi o primeiro TEDx do Nordeste e, em 2015, chega à sua 4a edição com o tema ‘LIBERDADE': queremos provocar e discutir novas formas de convivência, de aprendizado, de arte, de alimentação, de cura, de empreendedorismo, de vida!">
<meta property="og:image" content="http://tedxpelourinho.com/wp-content/uploads/2015/03/tedxpelourinho-fb.jpg">
<meta property="og:image:type" content="image/jpeg">
<meta property="og:image:width" content="960">
<meta property="og:image:height" content="960">
<!-- JQuery -->
<script src="//maps.google.com/maps/api/js?sensor=false"></script>
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
<!-- Favicons -->
<link href="<?= $template_url; ?>/assets/img/favicons/favicon.ico" rel="shortcut icon">
<link href="<?= $template_url; ?>/assets/img/favicons/apple-touch-icon.png" rel="apple-touch-icon">
<link href="<?= $template_url; ?>/assets/img/favicons/apple-touch-icon.png" rel="apple-touch-icon-precomposed">
<link href="<?= $template_url; ?>/assets/img/favicons/apple-touch-icon-57x57-precomposed.png" rel="apple-touch-icon" sizes="57x57">
<link href="<?= $template_url; ?>/assets/img/favicons/apple-touch-icon-72x72-precomposed.png" rel="apple-touch-icon" sizes="72x72">
<link href="<?= $template_url; ?>/assets/img/favicons/apple-touch-icon-114x114-precomposed.png" rel="apple-touch-icon" sizes="114x114">
<!-- Compiled CSS -->
<link href='<?= $template_url; ?>/dist/css/vendor.min.css' type='text/css' media='all' rel='stylesheet'>
<link href='<?= $template_url; ?>/dist/css/application.min.css' type='text/css' media='all' rel='stylesheet'>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="fb-root"></div>
<script>(function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s);
js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=230769680405348&version=v2.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="black-bg">
<div class="container">
<header>
<div class="row">
<div class="col-lg-8 col-md-12 col-sm-12 col-xs-12">
<a href="<?= get_theme_mod('logo_link', '/'); ?>">
<?php (get_theme_mod('logo')) ? $logo = get_theme_mod('logo') : $logo = 'http://placehold.it/229x50.png' ?>
<img src="<?= $logo ?>" height="50" alt="Logo" class="pull-left">
</a>
<div class="header-date-location pull-left">
<time class="date" datetime="2014-10-02"><?= get_theme_mod('event_date', 'Event Date') ?></time>
<span class="location"><?= get_theme_mod('event_location', 'Event Location') ?></span>
</div>
</div>
<div class="col-lg-4 col-md-12 col-sm-12 col-xs-12">
<!-- <div class="call-to-action">-->
<!---->
<!-- --><?php //$button_callout_text = get_theme_mod('button_callout_text', 'CTA');?>
<!---->
<!-- --><?php //if(!empty($button_callout_text)): ?>
<!-- <a href="--><?//= get_theme_mod('button_callout_link', '/'); ?><!--" class="btn btn-danger pull-right">--><?//= $button_callout_text ?><!--</a>-->
<!-- --><?php //endif;?>
<!-- <span class="copy pull-right clear">--><?//= get_theme_mod('header_callout', 'Header Callout') ?><!--</span>-->
<!-- </div>-->
</div>
</div><!-- .row -->
<nav class="primary-nav" ng-controller="NavCtrl" ng-class="{'mobile-visible': isVisible}">
<div class="toggle visible-xs " ng-click="toggleMenu()">Menu</div>
<?= $TEDxMenus->primary_nav(); ?>
</nav>
</header>
</div>
</div><!-- .black-bg -->
<?php if($TEDxMenus->show_secondary_nav()): ?>
<div class="primary-nav-secondary-container">
<div class="container ">
<nav class="primary-nav-secondary">
<?= $TEDxMenus->secondary_nav(); ?>
</nav>
</div>
</div>
<?php endif; ?>