Compare commits
3
Commits
0650202e22
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
39e8d5a8e1 | ||
|
|
32834090a1 | ||
|
|
bea6a20a24 |
No files matched your search
@@ -339,18 +339,16 @@ function theme_yandex_metrika() {
|
|||||||
?>
|
?>
|
||||||
<!-- Yandex.Metrika counter -->
|
<!-- Yandex.Metrika counter -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
(function (m, e, t, r, i, k, a) {
|
(function(m,e,t,r,i,k,a){
|
||||||
m = mfunction(){ (m.a = m.a[]).push(arguments) };
|
m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
|
||||||
m.l = 1 * new Date();
|
m[i].l=1*new Date();
|
||||||
for (var j = 0; j < document.scripts.length; j++) { if (document.scripts[j].src === r) { return; } }
|
for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
|
||||||
k = e.createElement(t), a = e.getElementsByTagName(t)[0], k.async = 1, k.src = r, a.parentNode.insertBefore(k, a)
|
k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)
|
||||||
})(window, document, 'script', 'https://mc.yandex.ru/metrika/tag.js?id=113689913', 'ym');
|
})(window, document,'script','https://mc.yandex.ru/metrika/tag.js?id=113689913', 'ym');
|
||||||
|
|
||||||
ym(113689913, 'init', { ssr: true, webvisor: true, clickmap: true, ecommerce: "dataLayer", referrer: document.referrer, url: location.href, accurateTrackBounce: true, trackLinks: true });
|
ym(113689913, 'init', {ssr:true, webvisor:true, clickmap:true, ecommerce:"dataLayer", referrer: document.referrer, url: location.href, accurateTrackBounce:true, trackLinks:true});
|
||||||
</script>
|
</script>
|
||||||
<noscript>
|
<noscript><div><img src="https://mc.yandex.ru/watch/113689913" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
|
||||||
<div><img src="https://mc.yandex.ru/watch/113689913" style="position:absolute; left:-9999px;" alt="" /></div>
|
|
||||||
</noscript>
|
|
||||||
<!-- /Yandex.Metrika counter -->
|
<!-- /Yandex.Metrika counter -->
|
||||||
<?php }
|
<?php }
|
||||||
add_action('wp_head', 'theme_yandex_metrika', 1);
|
add_action('wp_head', 'theme_yandex_metrika', 1);
|
||||||
|
|||||||
@@ -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>
|
||||||
@@ -142,4 +150,4 @@
|
|||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
@@ -16,6 +16,7 @@ Template Name: Курьерам
|
|||||||
<?php get_template_part('template-parts/delivery-orders'); ?>
|
<?php get_template_part('template-parts/delivery-orders'); ?>
|
||||||
<?php get_template_part('template-parts/payments'); ?>
|
<?php get_template_part('template-parts/payments'); ?>
|
||||||
<?php get_template_part('template-parts/scheme'); ?>
|
<?php get_template_part('template-parts/scheme'); ?>
|
||||||
|
<?php get_template_part('template-parts/payments'); ?>
|
||||||
<?php get_template_part('template-parts/requirements'); ?>
|
<?php get_template_part('template-parts/requirements'); ?>
|
||||||
<?php get_template_part('template-parts/formats'); ?>
|
<?php get_template_part('template-parts/formats'); ?>
|
||||||
<?php get_template_part('template-parts/reviews'); ?>
|
<?php get_template_part('template-parts/reviews'); ?>
|
||||||
|
|||||||
Reference in new issue
Block a user