File: /var/www/sites/u-port.ua/old_wp-content/themes/customize/header.php
<!DOCTYPE html>
<?php if (get_locale() == 'ru_RU') { ?>
<html lang="ru-UA">
<?php } else { ?>
<html lang="ua-UA">
<?php } ?>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
<title><?php if (is_category(6)) {
the_field("title", "category_6");
} elseif (is_category(50)) {
the_field("title", "category_50");
} elseif (is_category(51)) {
the_field("title", "category_51");
} elseif (is_category(1)) {
the_field("title", "category_1");
} elseif (is_category(4)) {
the_field("title", "category_4");
} elseif (is_category(5)) {
the_field("title", "category_5");
} elseif (is_category(7)) {
the_field("title", "category_7");
} else {
the_field("title");
}?>
</title>
<meta name="description" content="<?php if (is_category(6)) {
the_field("description", "category_6");
} elseif (is_category(50)) {
the_field("description", "category_50");
} elseif (is_category(51)) {
the_field("description", "category_51");
} elseif (is_category(1)) {
the_field("description", "category_1");
} elseif (is_category(4)) {
the_field("description", "category_4");
} elseif (is_category(5)) {
the_field("description", "category_5");
} elseif (is_category(7)) {
the_field("description", "category_7");
} else {
the_field("description");
}?>"/>
<!-- <meta name="keywords" content="< ?php if (is_category(6)) {
the_field(keywords, "category_6");
} else {
the_field(keywords);
}?>" /> -->
<!-- <meta name="format-detection" content="telephone=no"> -->
<link rel="icon" href="<?php bloginfo('template_url');?>/favicon.png" type="image/x-icon">
<meta name="theme-color" content="#007557">
<?php wp_head() ?>
<!--<link rel='stylesheet' id='font-aw-css' href='<?php bloginfo('template_url');?>/css/font-awesome.css' type='text/css' media='screen' />-->
<link href="<?php bloginfo('template_url');?>/css/owl.carousel.css" rel="stylesheet" media="screen">
<link href="<?php bloginfo('template_url');?>/css/owl.theme.default.min.css" rel="stylesheet" media="screen">
<link href="<?php bloginfo('template_url');?>/css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="<?php bloginfo('template_url');?>/css/animate.css" rel="stylesheet" media="screen">
<link href="<?php bloginfo('template_url');?>/css/lightbox.css" rel="stylesheet" media="screen">
<link href="<?php bloginfo('template_url');?>/style.css" rel="stylesheet" media="screen">
<meta name="google-site-verification" content="uUEdfmx50Q34s1CQ1UJRC0mEn4yuzow4hMkwqcrp_x8" />
<meta name="it-rating" content="it-rat-b33576158cda5af1a9b47444b50ddb32" />
</head>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-64874361-6', 'auto');
ga('send', 'pageview');
</script>
<body>
<div class="footer-down">
<header>
<div class="container">
<div class="logo-wrap">
<?php if (is_front_page()){ ?>
<img class="logo" src="<?php bloginfo('template_url');?>/images/logo.png" alt="logo">
<?php } else { ?>
<?php if (get_locale() == 'uk') { ?>
<a href="/ua/"><img class="logo" src="<?php bloginfo('template_url');?>/images/logo.png" alt="logo"></a>
<?php } else if (get_locale() == 'ru_RU') { ?>
<a href="/"><img class="logo" src="<?php bloginfo('template_url');?>/images/logo.png" alt="logo"></a>
<?php } ?>
<?php } ?>
<?php if (get_locale() == 'uk') { ?>
<p class="logo-text ua-font">імплантовані системи для тривалих інфузій</p>
<?php } else if (get_locale() == 'ru_RU') { ?>
<p class="logo-text ">ИМПЛАНТИРУЕМЫЕ СИСТЕМЫ ДЛЯ ДЛИТЕЛЬНЫХ ИНФУЗИЙ</p>
<?php } ?>
</div>
<?php
wp_nav_menu( array(
'theme_location' => 'top',
'menu' => 'top-menu',
'container' => 'nav',
'menu_class' => 'menu',
) );
?>
<div class="search-wrap">
<?php get_search_form(); ?>
</div>
<?php
wp_nav_menu( array(
'menu' => 'lang-menu',
'container' => 'div',
'menu_class' => 'lang-wrap',
) );
?>
<div class="menu-btn">
<span class="top-line"></span>
<span class="mid-line"></span>
<span class="bot-line"></span>
</div>
</div>
</header>