Files
vij/header.php

66 lines
2.5 KiB
PHP
Raw Normal View History

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-01-11 23:06:02 +03:00
<link rel="stylesheet" href="<?php echo get_stylesheet_uri();?>?ver=145">
2021-09-20 01:07:53 +03:00
<link href="https://use.fontawesome.com/releases/v5.0.13/css/all.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
2021-09-16 12:14:35 +03:00
</head>
<body>
2021-10-10 15:16:51 +03:00
<!-- Facebook Pixel Code -->
<noscript>
<img height="1" width="1" src="https://www.facebook.com/tr?id=126851132579904&ev=PageView
&noscript=1"/>
</noscript>
<!-- End Facebook Pixel Code -->
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';
$mob_main_menu = 'mob_rubrics';
}
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