-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
executable file
·79 lines (64 loc) · 2.48 KB
/
header.php
File metadata and controls
executable file
·79 lines (64 loc) · 2.48 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
<?php
/**
* The template for displaying the header
*
* @package Reactor
* @subpackge Templates
* @since 1.0.0
*/?><!DOCTYPE html>
<!--[if lt IE 7]><html <?php language_attributes(); ?> class="no-js lt-ie9 lt-ie8 lt-ie7"><![endif]-->
<!--[if ( IE 7 )&!( IEMobile )]><html <?php language_attributes(); ?> class="no-js lt-ie9 lt-ie8"><![endif]-->
<!--[if ( IE 8 )&!( IEMobile )]><html <?php language_attributes(); ?> class="no-js lt-ie9"><![endif]-->
<!--[if gt IE 8]><!--> <html <?php language_attributes(); ?> class="no-js"><!--<![endif]-->
<head>
<!-- WordPress head -->
<?php wp_head(); ?>
<!-- end WordPress head -->
<?php reactor_head();
$outdoor_class = ( is_outdoors() || is_location() ) ? ' is-outdoors' : '';
$outdoor_page_class = ( is_outdoor_home() ) ? ' outdoorhome' : ''; ?>
<script>
var gptadslots = [];
var googletag = googletag || {cmd:[]};
</script>
<style>
<?PHP
//use this code to target specific posts
//global $blog_id;
//$id = get_the_ID();
//if ($id == 208880) {
//echo '';
//}
?>
</style>
</head>
<body <?php body_class( 'gesture' . $outdoor_class . $outdoor_page_class ); ?>>
<?php reactor_body_inside(); ?>
<div id="page" class="hfeed site">
<?php reactor_header_before(); ?>
<header id="header" class="site-header" role="banner">
<?php reactor_header_inside(); ?>
</header><!-- #header -->
<?php reactor_header_after(); ?>
<?php if ( ! is_page_template( 'page-sponsored.php' ) ) { ?>
<div class="adElement clearfloat" id="adPosition1" style="clear:both;text-align:center;">
<!-- begin top leaderboard and interstitial -->
<div class="header-banners">
<div id="div-gpt-ad-interstitial" class="dfp-ad dfp-interstitial" data-ad-unit="interstitial">
<script type="text/javascript">
if ( "undefined" !== typeof googletag ) {
googletag.cmd.push( function() { googletag.display("div-gpt-ad-interstitial"); } );
}
</script>
</div> <div id="div-gpt-ad-top_leaderboard" class="dfp-ad dfp-top_leaderboard" data-ad-unit="top_leaderboard">
<script type="text/javascript">
if ( "undefined" !== typeof googletag ) {
googletag.cmd.push( function() { googletag.display("div-gpt-ad-top_leaderboard"); } );
}
</script>
</div>
</div>
<!-- end top leaderboard and interstitial -->
</div>
<?php } ?>
<div id="main" class="wrapper">