task 17081 | сдела чтобы hero брало другое значение, если нет новых
This commit is contained in:
1 parent
0650202e22
commit
d8a15dbe03
1 file changed
+10
-2
@@ -21,8 +21,16 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="hero-main__body">
|
<div class="hero-main__body">
|
||||||
<div class="hero-main__left">
|
<div class="hero-main__left">
|
||||||
<h1 class="hero-title">Приложение для <?php echo esc_html($audience); ?></h1>
|
<h1 class="hero-title"><?php
|
||||||
<div class="hero-descr">Скачай Hantico и начни получать заказы <?php echo esc_html($order_type); ?> уже завтра!</div>
|
echo $audience
|
||||||
|
? 'Приложение для ' . esc_html($audience)
|
||||||
|
: wp_kses_post(get_field('hero_title'));
|
||||||
|
?></h1>
|
||||||
|
<div class="hero-descr"><?php
|
||||||
|
echo $order_type
|
||||||
|
? 'Скачай Hantico и начни получать заказы ' . esc_html($order_type) . ' уже завтра!'
|
||||||
|
: wp_kses_post(get_field('hero_descr'));
|
||||||
|
?></div>
|
||||||
<div class="hero-buttons">
|
<div class="hero-buttons">
|
||||||
<a href="<?php echo get_permalink(87); ?>" class="hero-buttons__download-btn btn btn--lg btn--red">Скачать приложение</a>
|
<a href="<?php echo get_permalink(87); ?>" class="hero-buttons__download-btn btn btn--lg btn--red">Скачать приложение</a>
|
||||||
<a href="#specs" class="hero-buttons__info-btn btn btn--lg btn--transp-red">Как это работает</a>
|
<a href="#specs" class="hero-buttons__info-btn btn btn--lg btn--transp-red">Как это работает</a>
|
||||||
|
|||||||
Reference in new issue
Block a user