<?php
/**
* The header for our theme.
*
* Displays all of the <head> section and everything up till <div id="content">
*
* @package Merlin
*/
// Get Theme Options from Database
$theme_options = merlin_theme_options();
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta
name="sputnik-verification"
content="pDubFfZrNFoTcDPW"
/>
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<div class="hexample2">
<div class="header-widgets clearfix">
<?php // Display Header Widgets
if( is_active_sidebar('header') ) :
dynamic_sidebar('header');
endif; ?>
</div><!-- .header-widgets -->
</div>
<nav id="main-navigation" class="primary-navigation navigation clearfix" role="navigation">
<?php
// Display Main Navigation
wp_nav_menu( array(
'theme_location' => 'primary',
'container' => false,
'menu_class' => 'main-navigation-menu',
'echo' => true,
'fallback_cb' => 'merlin_default_menu')
);
?>
</nav><!-- #main-navigation -->
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="page" class="hfeed site">
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'merlin' ); ?></a>
<header id="masthead" class="site-header clearfix" role="banner">
<?php // Display Custom Header Image
merlin_header_image(); ?>
<!-- Yandex.Metrika counter -->
<script type="text/javascript" >
(function (d, w, c) {
(w[c] = w[c] || []).push(function() {
try {
w.yaCounter44510902 = new Ya.Metrika({
id:44510902,
clickmap:true,
trackLinks:true,
accurateTrackBounce:true,
webvisor:true
});
} catch(e) { }
});
var n = d.getElementsByTagName("script")[0],
s = d.createElement("script"),
f = function () { n.parentNode.insertBefore(s, n); };
s.type = "text/javascript";
s.async = true;
s.src = "https://mc.yandex.ru/metrika/watch.js";
if (w.opera == "[object Opera]") {
d.addEventListener("DOMContentLoaded", f, false);
} else { f(); }
})(document, window, "yandex_metrika_callbacks");
</script>
<noscript><div><img src="https://mc.yandex.ru/watch/44510902" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
</header><!-- #masthead -->
<div id="content" class="site-content container clearfix">
<script type="text/javascript">
(function(d, t, p) {
var j = d.createElement(t); j.async = true; j.type = "text/javascript";
j.src = ("https:" == p ? "https:" : "http:") + "//stat.sputnik.ru/cnt.js";
var s = d.getElementsByTagName(t)[0]; s.parentNode.insertBefore(j, s);
})(document, "script", document.location.protocol);
</script>
<meta
name="sputnik-verification"
content="pDubFfZrNFoTcDPW"
/>