task 17081 | сдела чтобы hero брало другое значение, если нет новых
This commit is contained in:
1 parent
0650202e22
commit
d8a15dbe03
1 file changed
+11
-3
@@ -21,8 +21,16 @@
|
||||
<div class="container">
|
||||
<div class="hero-main__body">
|
||||
<div class="hero-main__left">
|
||||
<h1 class="hero-title">Приложение для <?php echo esc_html($audience); ?></h1>
|
||||
<div class="hero-descr">Скачай Hantico и начни получать заказы <?php echo esc_html($order_type); ?> уже завтра!</div>
|
||||
<h1 class="hero-title"><?php
|
||||
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">
|
||||
<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>
|
||||
@@ -142,4 +150,4 @@
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
Reference in new issue
Block a user