add adv_spaces

This commit is contained in:
argoexpert press
2024-07-07 19:06:45 +03:00
parent 17d9093900
commit 2ead9c2bee
5 changed files with 120 additions and 47 deletions

View File

@@ -50,17 +50,24 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<div id="app">
<?if (function_exists('banners_conf_display') and banners_conf_display('header_banner_desktop', false) !== ''):?>
<div class="banner banner--header desktop">
<?php banners_conf_display('header_banner_desktop'); ?>
<?if (function_exists('ex_adv_get_banner')):
</div>
<?endif?>
<?if (function_exists('banners_conf_display') and banners_conf_display('header_banner_mobile', false) !== ''):?>
<div class="banner banner--header mobile">
<?php banners_conf_display('header_banner_mobile'); ?>
</div>
<?endif?>
$mainbanner = ex_adv_get_banner(1);
if ($mainbanner !== ''):?>
<div class="banner banner--header desktop">
<?=$mainbanner?>
</div>
<?endif?>
<?$mobanner = ex_adv_get_banner(2);
if ($mobanner !== ''):?>
<div class="banner banner--header mobile">
<?=$mobanner?>
</div>
<?endif?>
<?endif?>
<header class="header">
<div class="container">