correct header banners

This commit is contained in:
2024-03-24 09:12:26 +03:00
parent 7b3776d084
commit e2859c958d

View File

@@ -47,12 +47,16 @@ 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 if (function_exists('banners_conf_display')) banners_conf_display('header_banner_desktop'); ?>
<?php banners_conf_display('header_banner_desktop'); ?>
</div>
<?endif?>
<?if (function_exists('banners_conf_display') and banners_conf_display('header_banner_mobile', false) !== ''):?>
<div class="banner banner--header mobile">
<?php if (function_exists('banners_conf_display')) banners_conf_display('header_banner_mobile'); ?>
<?php banners_conf_display('header_banner_mobile'); ?>
</div>
<?endif?>
<header class="header">
<div class="container">