Skip to content

Commit

Permalink
Added NEW Dynamic GENRE BAR Nav Menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Bulatov committed Feb 17, 2016
1 parent 68c4135 commit cfd52ca
Showing 1 changed file with 9 additions and 27 deletions.
36 changes: 9 additions & 27 deletions wp-content/themes/mag-wp/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,20 +157,6 @@
})();
</script>

<script type='text/javascript'>
googletag.cmd.push(function() {
googletag.defineSlot('/11347700/Leaderboard', [[970, 250], [728, 90], [970, 90]], 'div-gpt-ad-1454727873765-0').setTargeting('Redirect', ['false']).addService(googletag.pubads());
googletag.defineSlot('/11347700/Leaderboard2', [[970, 250], [728, 90], [970, 90]], 'div-gpt-ad-1454727873765-1').addService(googletag.pubads());
googletag.defineSlot('/11347700/Hybrid_MPU', [[300, 250], [300, 600]], 'div-gpt-ad-1454727873765-2').addService(googletag.pubads());
googletag.defineSlot('/11347700/MPU', [300, 250], 'div-gpt-ad-1454727873765-3').addService(googletag.pubads());
googletag.defineSlot('/11347700/Wallpaper', [1, 1], 'div-gpt-ad-1454727873765-4').addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
//googletag.pubads().collapseEmptyDivs();
googletag.pubads().setTargeting('Redirect', ['false']);
googletag.pubads().enableSyncRendering();
googletag.enableServices();
});
</script>

<!-- Theme output -->
<?php wp_head(); ?>
Expand All @@ -195,7 +181,15 @@
<!-- Begin Header -->
<div id="fixed-header">

<?php include("custom/Genre-Bar-static-HTML.php"); ?>
<?php
$genre_bar_args = array(
'menu'=>'genre-bar',
'container'=>'nav',
'container_class'=>'genrebar', //menu-{menu slug}-container
'items_wrap' => '<ul class="mainmenu">%3$s</ul>'
);
wp_nav_menu( $genre_bar_args );
//include("custom/Genre-Bar-static-HTML.php"); ?>

<div id="inner-header">
<div id="logo-cont">
Expand Down Expand Up @@ -240,12 +234,6 @@
<div id="header-filler"></div>


<!-- /11347700/Wallpaper -->
<div id='div-gpt-ad-1454727873765-4' style='height:1px; width:1px;'>
<script type='text/javascript'>
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1454727873765-4'); });
</script>
</div>



Expand Down Expand Up @@ -294,12 +282,6 @@
<!-- The next big Thing Section -->
<div id="featured-boxes">

<!-- /11347700/Leaderboard -->
<div id='div-gpt-ad-1454727873765-0'>
<script type='text/javascript'>
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1454727873765-0'); });
</script>
</div>

<div class="wrap-center">
<?php //echo get_template_part('custom/region/left-big-thing'); ?>
Expand Down

0 comments on commit cfd52ca

Please sign in to comment.