From ecc5a1b12a5a956bb6fe7df50145c970e2c274f7 Mon Sep 17 00:00:00 2001 From: "web_103.2" Date: Fri, 23 Oct 2026 13:21:31 +0300 Subject: [PATCH] =?UTF-8?q?task=2017081=20|=20=D0=BF=D1=80=D0=B5=D0=B4?= =?UTF-8?q?=D0=B5=D0=BB=D0=B0=D0=BB=20=D1=87=D0=B0=D1=81=D1=82=D1=8C=20?= =?UTF-8?q?=D0=BD=D0=B0=D1=82=D1=8F=D0=B6=D0=BA=D0=B8=20=D0=B1=D0=BB=D0=BE?= =?UTF-8?q?=D0=BA=D0=BE=D0=B2=20=D1=81=20hero=20=D0=BF=D0=BE=20scheme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hantico/template-parts/audience/hero.php | 145 ++++++++++++++++++ .../template-parts/courier-services.php | 9 +- .../template-parts/delivery-orders.php | 4 +- .../themes/hantico/template-parts/income.php | 10 +- .../hantico/templates/template-courier.php | 6 +- 5 files changed, 165 insertions(+), 9 deletions(-) create mode 100644 wp-content/themes/hantico/template-parts/audience/hero.php diff --git a/wp-content/themes/hantico/template-parts/audience/hero.php b/wp-content/themes/hantico/template-parts/audience/hero.php new file mode 100644 index 0000000..8b21dea --- /dev/null +++ b/wp-content/themes/hantico/template-parts/audience/hero.php @@ -0,0 +1,145 @@ + +
+
+
+
+
+

Приложение для

+
Скачай Hantico и начни получать заказы уже завтра!
+ + +
+
+ <?php echo $hero_qrcode['alt']; ?> +
+
Наведите камеру
на QR-код
+
+ + + +
+
+
+ фоновое изображение +
+ +
+ +
+
+ <?php echo $item['icon']['alt']; ?> +
+
+
+ +
+ +
+
+
+
+ +
+
+
    + +
  • + +
+
+
+ + +
\ No newline at end of file diff --git a/wp-content/themes/hantico/template-parts/courier-services.php b/wp-content/themes/hantico/template-parts/courier-services.php index fb9dd38..b274834 100644 --- a/wp-content/themes/hantico/template-parts/courier-services.php +++ b/wp-content/themes/hantico/template-parts/courier-services.php @@ -1,5 +1,10 @@ -

+

С Hantico проще выбрать подходящий сервис , пройти регистрацию и начать получать заказы.

diff --git a/wp-content/themes/hantico/template-parts/delivery-orders.php b/wp-content/themes/hantico/template-parts/delivery-orders.php index 4cc40e9..5f57e87 100644 --- a/wp-content/themes/hantico/template-parts/delivery-orders.php +++ b/wp-content/themes/hantico/template-parts/delivery-orders.php @@ -13,10 +13,10 @@ if (!$available_title && !$available_items) {
-

+

Какие заказы доступны

-

+

Выбирайте подходящий формат и получайте заказы через сервисы, доступные в Hantico.

diff --git a/wp-content/themes/hantico/template-parts/income.php b/wp-content/themes/hantico/template-parts/income.php index b29247f..fcaf0ae 100644 --- a/wp-content/themes/hantico/template-parts/income.php +++ b/wp-content/themes/hantico/template-parts/income.php @@ -14,15 +14,19 @@ $this_page_id = get_the_ID(); - $income_title = get_field('calculator_title', $this_page_id) - ?: get_field('income_title', $page_id); + $calculator_title = get_field('calculator_title', $this_page_id); + $income_title = $calculator_title + ? 'Калькулятор дохода ' . esc_html($calculator_title) + : get_field('income_title', $page_id); $income_descr = get_field('income_descr', $page_id); - if ($income_title && $income_descr) : + if ($income_title && ($calculator_title || $income_descr)) : ?>

+
+
diff --git a/wp-content/themes/hantico/templates/template-courier.php b/wp-content/themes/hantico/templates/template-courier.php index 9bb18ac..ef25c35 100644 --- a/wp-content/themes/hantico/templates/template-courier.php +++ b/wp-content/themes/hantico/templates/template-courier.php @@ -9,18 +9,20 @@ Template Name: Курьерам
- + - + + +