add files
This commit is contained in:
155
header.php
Executable file
155
header.php
Executable file
@@ -0,0 +1,155 @@
|
||||
<!DOCTYPE html>
|
||||
<html <?php language_attributes(); ?>>
|
||||
<head>
|
||||
<meta charset="<?php bloginfo('charset'); ?>">
|
||||
<title><?php wp_title('|', true, 'right');?><?=get_bloginfo('name')?></title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<!-- Основные favicon -->
|
||||
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
|
||||
<link rel="icon" href="favicon.svg" type="image/svg+xml">
|
||||
<link rel="icon" href="favicon-16x16.png" type="image/png" sizes="16x16">
|
||||
<link rel="icon" href="favicon-32x32.png" type="image/png" sizes="32x32">
|
||||
<link rel="icon" href="favicon-48x48.png" type="image/png" sizes="48x48">
|
||||
|
||||
<!-- Apple Touch Icons -->
|
||||
<link rel="apple-touch-icon" href="apple-touch-icon.png">
|
||||
<link rel="apple-touch-icon" sizes="57x57" href="apple-touch-icon-57x57.png">
|
||||
<link rel="apple-touch-icon" sizes="60x60" href="apple-touch-icon-60x60.png">
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="apple-touch-icon-72x72.png">
|
||||
<link rel="apple-touch-icon" sizes="76x76" href="apple-touch-icon-76x76.png">
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="apple-touch-icon-114x114.png">
|
||||
<link rel="apple-touch-icon" sizes="120x120" href="apple-touch-icon-120x120.png">
|
||||
<link rel="apple-touch-icon" sizes="144x144" href="apple-touch-icon-144x144.png">
|
||||
<link rel="apple-touch-icon" sizes="152x152" href="apple-touch-icon-152x152.png">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon-180x180.png">
|
||||
|
||||
<!-- Android Chrome Icons -->
|
||||
<link rel="manifest" href="site.webmanifest">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
|
||||
<!-- Microsoft Tiles -->
|
||||
<meta name="msapplication-TileColor" content="#ffffff">
|
||||
<meta name="msapplication-TileImage" content="mstile-144x144.png">
|
||||
<meta name="msapplication-config" content="browserconfig.xml">
|
||||
<?php wp_head(); ?>
|
||||
|
||||
<!-- Yandex.Metrika counter -->
|
||||
<script type="text/javascript">
|
||||
(function(m, e, t, r, i, k, a) {
|
||||
m[i] = m[i] || function() {
|
||||
(m[i].a = m[i].a || []).push(arguments)
|
||||
};
|
||||
m[i].l = 1 * new Date();
|
||||
k = e.createElement(t),
|
||||
a = e.getElementsByTagName(t)[0],
|
||||
k.async = 1,
|
||||
k.src = r,
|
||||
a.parentNode.insertBefore(k, a)
|
||||
})
|
||||
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
|
||||
|
||||
ym(52011299, "init", {
|
||||
id: 52011299,
|
||||
clickmap: true,
|
||||
trackLinks: true,
|
||||
accurateTrackBounce: true
|
||||
});
|
||||
</script>
|
||||
<noscript>
|
||||
<div>
|
||||
<img src="https://mc.yandex.ru/watch/52011299" style="position:absolute; left:-9999px;" alt=""/>
|
||||
</div>
|
||||
</noscript>
|
||||
<!-- /Yandex.Metrika counter -->
|
||||
<!-- Rating@Mail.ru counter -->
|
||||
<script type="text/javascript">
|
||||
var _tmr = window._tmr || (window._tmr = []);
|
||||
_tmr.push({
|
||||
id: "3078905",
|
||||
type: "pageView",
|
||||
start: (new Date()).getTime()
|
||||
});
|
||||
(function(d, w, id) {
|
||||
if (d.getElementById(id))
|
||||
return;
|
||||
var ts = d.createElement("script");
|
||||
ts.type = "text/javascript";
|
||||
ts.async = true;
|
||||
ts.id = id;
|
||||
ts.src = "https://top-fwz1.mail.ru/js/code.js";
|
||||
var f = function() {
|
||||
var s = d.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(ts, s);
|
||||
};
|
||||
if (w.opera == "[object Opera]") {
|
||||
d.addEventListener("DOMContentLoaded", f, false);
|
||||
} else {
|
||||
f();
|
||||
}
|
||||
})(document, window, "topmailru-code");
|
||||
</script>
|
||||
<noscript>
|
||||
<div>
|
||||
<img src="https://top-fwz1.mail.ru/counter?id=3078905;js=na" style="border:0;position:absolute;left:-9999px;" alt="Top.Mail.Ru"/>
|
||||
</div>
|
||||
</noscript>
|
||||
<!-- //Rating@Mail.ru counter -->
|
||||
<!-------------------------------------------------------------------------------- Статусная строка -->
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
<body <?php body_class(); ?>>
|
||||
|
||||
<header class="site-header" role="banner">
|
||||
|
||||
<?get_template_part( 'template-parts/current-datetime' );?>
|
||||
|
||||
<!-- Основной header -->
|
||||
<div class="site-header-content">
|
||||
<div class="sportpressa-logo">
|
||||
<a href="<?php echo home_url()?>"><span class="redword">С</span>порт</a>
|
||||
<img src="<?php echo home_url()?>/sportpressa.svg" width="40">
|
||||
<a href="<?php echo home_url()?>">Пресса</a>
|
||||
</div>
|
||||
|
||||
<button class="hamburger" id="mobile-menu-toggle" aria-label="Открыть меню">
|
||||
<span class="hamburger-icon"></span>
|
||||
</button>
|
||||
|
||||
<div class="mobile-menu-overlay">
|
||||
<button class="mobile-menu-close" id="mobile-menu-close" aria-label="Закрыть меню">
|
||||
<span class="close-icon"></span>
|
||||
</button>
|
||||
|
||||
<nav class="mobile-nav">
|
||||
<?php
|
||||
wp_nav_menu( array(
|
||||
'theme_location' => 'primary-menu',
|
||||
'container' => false,
|
||||
'menu_class' => 'mobile-main-menu',
|
||||
'items_wrap' => '<ul id="%1$s" class="%2$s">%3$s</ul>'
|
||||
) );
|
||||
?>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<nav class="desktop-nav">
|
||||
<?php
|
||||
wp_nav_menu( array(
|
||||
'theme_location' => 'primary-menu',
|
||||
'container' => false,
|
||||
'menu_class' => 'main-menu',
|
||||
'items_wrap' => '<ul id="%1$s" class="%2$s">%3$s</ul>'
|
||||
) );
|
||||
?>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
<div class="container">
|
||||
<div class="wrapper">
|
||||
Reference in New Issue
Block a user