add banner zone 14

This commit is contained in:
Andrey Kuvshinov
2025-07-31 16:21:57 +03:00
parent 6c369cc7af
commit b5595ae76e
4 changed files with 20 additions and 2 deletions

View File

@@ -2069,8 +2069,8 @@ function custom_field_html($field){
<input <input
type="checkbox" type="checkbox"
value="'.$field['value'].'" value="'.$field['value'].'"
name="' . $field['id'] . '" name="' . $field['id'] . ' "
' . checked((bool)$value, true, false) . ' ' . checked((bool)$value, true) . '
/> />
' . _e($field['label']); ' . _e($field['label']);
break; break;

View File

@@ -51,8 +51,15 @@
<?php get_template_part("template-parts/header/breadcrumbs") ?> <?php get_template_part("template-parts/header/breadcrumbs") ?>
<?php if(!wp_is_mobile()) : ?>
<div style="margin-bottom: 18px; text-align: center;">
<?php get_template_part("template-parts/ad/revive/ad", "", [ "zone" => 14, "show_on_mobile" => false ]); ?>
</div>
<?php endif; ?>
<div class="container-fluid"> <div class="container-fluid">
<div class="row clearfix d-block"> <div class="row clearfix d-block">
<!--[/header/header]--> <!--[/header/header]-->

View File

@@ -1,5 +1,6 @@
<!--[home/index]--> <!--[home/index]-->
<?php get_template_part("template-parts/home/news"); ?> <?php get_template_part("template-parts/home/news"); ?>
<div class="col-12 col-md-8 col-xl-6 float-left"> <div class="col-12 col-md-8 col-xl-6 float-left">

View File

@@ -4,6 +4,16 @@
<div class="row"> <div class="row">
<?php if(!wp_is_mobile()) : ?>
<div class="col-12">
<?php get_template_part("template-parts/ad/revive/ad", "", [ "zone" => 14, "show_on_mobile" => false ]); ?>
</div>
<?php endif; ?>
<div class="col-12 col-md-4 col-lg-5 col-xl-6"> <div class="col-12 col-md-4 col-lg-5 col-xl-6">
<div class="d-flex justify-content-between justify-content-lg-start align-items-center"> <div class="d-flex justify-content-between justify-content-lg-start align-items-center">