add wp-future

This commit is contained in:
2022-04-26 00:46:54 +03:00
parent eb335f8d52
commit cebc3aca47
8 changed files with 99 additions and 52 deletions

View File

@@ -9,14 +9,15 @@
<?if (defined('TESTMODE') and TESTMODE == 1):?>
<link rel="stylesheet" href="<?php echo get_template_directory_uri();?>/style-test.css?ver=3">
<?else:?>
<link rel="stylesheet" href="<?php echo get_stylesheet_uri();?>?ver=267">
<link rel="stylesheet" href="<?php echo get_stylesheet_uri();?>?ver=274">
<?endif?>
<link href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" rel="stylesheet">
<!--<link href="<?php echo get_stylesheet_directory_uri()?>/pub/fontawesome.css" rel="stylesheet">-->
<script type='text/javascript' src="<?php echo get_stylesheet_directory_uri()?>/scripts/jquery-3.6.0.min.js"></script>
<script type='text/javascript' src="<?php echo get_stylesheet_directory_uri()?>/scripts/golos.js"></script>
<meta property="og:title" content="<?php wp_title('|', true, 'right');?><?=get_bloginfo('name')?>" />
<link rel="icon" href="https://vetandlife.ru/favicon.ico" type="image/x-icon">
<link type="image/x-icon" href="/favicon. ico" rel="shortcut icon">
<link type="Image/x-icon" href="/favicon. ico" rel="icon">
<?if (isset($post->ID)):?>
<meta property="og:description" content="<?=strip_tags(get_the_excerpt( $post->ID ))?>" />
<?if( has_post_thumbnail()):
@@ -27,15 +28,7 @@
<?endif?>
<?php wp_head();?>
<!-- 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>
</head>
<body>
@@ -44,34 +37,48 @@
<?if (defined('TESTMODE') and TESTMODE == 1):?>
<style>
#mainbanner{
#testbanner{
width: 100%;
display: block;
padding: 10px;
}
#mainbanner img {
#testbanner img {
display: block;
width: 100%;
max-width: 1600px;
max-width: 554px;
height: 86px;
margin: auto;
border: 1px solid black;
background-color: gray;
text-align: center;
}
</style>
<div id="testbanner">
<img />
</div>
<?else:?>
<div id="mainbanner">
<img src ="https://vetandlife.ru/wp-content/uploads/2022/04/3200x200-scaled.gif" />
</div>
<a href="https://vetandlife.ru/reklama-na-site/"><img src ="https://vetandlife.ru/wp-content/uploads/2022/04/2000x125_64c.gif" /></a>
</div>
<div id="mobmainbanner">
<a href="https://vetandlife.ru/reklama-na-site/"><img src =" https://vetandlife.ru/wp-content/uploads/2022/04/554x86.gif" /></a>
</div>
<?endif?>
<div id="mainbanner">
<a href="https://vetandlife.ru/reklama-na-site/"><img src ="https://vetandlife.ru/wp-content/uploads/2022/04/3200x200_2.gif" /></a>
</div>
<? $lang_version = lang_version();