2021-09-16 12:14:35 +03:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="ru">
|
|
|
|
|
<head>
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
2021-10-11 22:29:11 +03:00
|
|
|
<title><?php wp_title('|', true, 'right');?><?=get_bloginfo('name')?></title>
|
2022-02-15 21:00:14 +03:00
|
|
|
|
|
|
|
|
<?if (defined('TESTMODE') and TESTMODE == 1):?>
|
|
|
|
|
<link rel="stylesheet" href="<?php echo get_template_directory_uri();?>/style-test.css?ver=2">
|
|
|
|
|
<?else:?>
|
2022-02-21 20:11:03 +03:00
|
|
|
<link rel="stylesheet" href="<?php echo get_stylesheet_uri();?>?ver=155">
|
2022-02-15 21:00:14 +03:00
|
|
|
<?endif?>
|
2022-03-12 16:30:23 +03:00
|
|
|
<!--<link href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" rel="stylesheet">-->
|
2022-03-14 11:33:43 +03:00
|
|
|
<!--<link href="<?php echo get_stylesheet_directory_uri()?>/pub/fontawesome.css" rel="stylesheet">-->
|
2021-09-27 00:07:02 +03:00
|
|
|
<script type='text/javascript' src="<?php echo get_stylesheet_directory_uri()?>/scripts/jquery-3.6.0.min.js"></script>
|
2021-10-31 13:01:31 +03:00
|
|
|
<script type='text/javascript' src="<?php echo get_stylesheet_directory_uri()?>/scripts/golos.js"></script>
|
2021-10-11 22:29:11 +03:00
|
|
|
<meta property="og:title" content="<?php wp_title('|', true, 'right');?><?=get_bloginfo('name')?>" />
|
2021-10-31 13:01:31 +03:00
|
|
|
<link rel="icon" href="https://vetandlife.ru/favicon.ico" type="image/x-icon">
|
2021-10-11 22:29:11 +03:00
|
|
|
<?if (isset($post->ID)):?>
|
2021-10-31 13:01:31 +03:00
|
|
|
<meta property="og:description" content="<?=strip_tags(get_the_excerpt( $post->ID ))?>" />
|
2021-10-11 22:29:11 +03:00
|
|
|
<?if( has_post_thumbnail()):
|
|
|
|
|
$thumb_id = get_post_thumbnail_id($post->ID);
|
|
|
|
|
$thumb_url = wp_get_attachment_image_src($thumb_id,'large', false);?>
|
|
|
|
|
<meta property="og:image" content="<?=$thumb_url[0]?>">
|
|
|
|
|
<?endif?>
|
|
|
|
|
<?endif?>
|
2021-09-16 12:14:35 +03:00
|
|
|
<?php wp_head();?>
|
2021-10-10 15:16:51 +03:00
|
|
|
|
2022-02-15 21:00:14 +03:00
|
|
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
|
|
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-VGN4NSFMW5"></script>
|
|
|
|
|
<script>
|
|
|
|
|
window.dataLayer = window.dataLayer || [];
|
|
|
|
|
function gtag(){dataLayer.push(arguments);}
|
|
|
|
|
gtag('js', new Date());
|
|
|
|
|
|
|
|
|
|
gtag('config', 'G-VGN4NSFMW5');
|
|
|
|
|
</script>
|
|
|
|
|
|
2021-09-16 12:14:35 +03:00
|
|
|
</head>
|
|
|
|
|
<body>
|
2022-03-12 16:30:23 +03:00
|
|
|
|
2022-02-15 21:00:14 +03:00
|
|
|
|
|
|
|
|
<?if (defined('TESTMODE') and TESTMODE == 1):?>
|
|
|
|
|
<style>
|
|
|
|
|
|
|
|
|
|
#mainbanner{
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: block;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#mainbanner img {
|
|
|
|
|
display: block;
|
|
|
|
|
width: 100%;
|
|
|
|
|
max-width: 1600px;
|
|
|
|
|
margin: auto;
|
|
|
|
|
border: 1px solid black;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<div id="mainbanner">
|
|
|
|
|
<img src ="https://vetandlife.ru/wp-content/themes/vij/pub/banners/page-banner-1600x100.jpg" />
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<?endif?>
|
2021-09-20 01:07:53 +03:00
|
|
|
|
2021-12-09 22:29:24 +03:00
|
|
|
<? $lang_version = lang_version();
|
|
|
|
|
|
|
|
|
|
if ($lang_version == 'en'){
|
|
|
|
|
$mainmenu = 'topenmenu';
|
2022-01-18 21:45:31 +03:00
|
|
|
$mob_main_menu = 'topmobmenu';
|
2021-12-09 22:29:24 +03:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
$mainmenu = 'topmenu';
|
2022-02-15 21:00:14 +03:00
|
|
|
$mob_main_menu = 'mob_rubrics';
|
2021-12-09 22:29:24 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
define('LANG_VERSION', $lang_version);
|
|
|
|
|
|
|
|
|
|
?>
|
2021-11-22 18:27:10 +03:00
|
|
|
|
|
|
|
|
<?php include TEMPLATEPATH.'/blocks/header.php';
|
|
|
|
|
//get_template_part( '/blocks/header.php');?>
|
|
|
|
|
<?php //include VIJ_CACHE.'header.html'?>
|
|
|
|
|
|
2021-09-27 00:07:02 +03:00
|
|
|
<?php $subclass = ''; ?>
|
2021-09-20 01:07:53 +03:00
|
|
|
|
2021-09-16 12:14:35 +03:00
|
|
|
<div id="main">
|
|
|
|
|
|
2021-09-28 22:25:21 +03:00
|
|
|
|
|
|
|
|
<div id="vert-title">
|
|
|
|
|
|
|
|
|
|
<?if (is_front_page()):?>
|
|
|
|
|
<div id="main-arrow"></div>
|
|
|
|
|
<?endif?>
|
|
|
|
|
<!--<div>Главное</div>-->
|
|
|
|
|
</div>
|
2021-12-28 23:31:56 +03:00
|
|
|
|