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: Курьерам
- + - + + +