new logic banners
This commit is contained in:
23
footer.php
23
footer.php
@@ -58,11 +58,24 @@ window.yaContextCb.push(()=>{
|
||||
<a href="https://vk.com/vizhuvizh" target="_blank"><span class="socs soc-vk"></span></a>
|
||||
<a href="https://t.me/ViZHuvizh" target="_blank"><span class="socs soc-tg"></span></a>
|
||||
<a href="https://rutube.ru/channel/42943284/" target="_blank"><span class="socs soc-rutube"></span></a>
|
||||
<a href="https://dzen.ru/vetandlife" target="_blank"><span class="socs soc-dzen"></span></a>
|
||||
</div>
|
||||
|
||||
<?php include get_template_directory().'/blocks/archive.php';?>
|
||||
<?php //include VIJ_CACHE.'archive.html'?>
|
||||
|
||||
<?if (function_exists('ex_adv_get_banner')):
|
||||
|
||||
$adv_left = ex_adv_get_banner( 2 );
|
||||
if ($adv_left !== ''):?>
|
||||
<div class="right-info">
|
||||
<?=$adv_left?>
|
||||
</div>
|
||||
<?endif?>
|
||||
|
||||
<?endif?>
|
||||
|
||||
|
||||
<?php get_template_part('partials/formsubscript'); ?>
|
||||
|
||||
|
||||
@@ -70,15 +83,7 @@ window.yaContextCb.push(()=>{
|
||||
|
||||
<?if (function_exists('ex_adv_get_banner')):
|
||||
|
||||
$adv_left_1 = ex_adv_get_banner( 2 );
|
||||
if ($adv_left_1 !== ''):?>
|
||||
<div class="right-info">
|
||||
<?=$adv_left_1?>
|
||||
</div>
|
||||
<?endif?>
|
||||
|
||||
|
||||
<?$adv_left_2 = ex_adv_get_banner( 4 );
|
||||
$adv_left_2 = ex_adv_get_banner( 4 );
|
||||
if ($adv_left_2 !== ''):?>
|
||||
<div class="right-info">
|
||||
<?=$adv_left_2?>
|
||||
|
||||
Reference in New Issue
Block a user