Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f79548db46 | ||
|
|
68ef50a3d9 |
No files matched your search
@@ -20,10 +20,10 @@
|
||||
<?php theme_menu('footer', ['submenu_toggle' => true]); ?>
|
||||
<div class="footer-contacts">
|
||||
<div class="footer-contacts__email">
|
||||
<a href="mailto:<?php echo $footer_contacts['email']; ?>" class="footer-contacts__email-link" onclick="ym(100213356,'reachGoal','click_btn_contacts'); return true;"><?php echo $footer_contacts['email']; ?></a>
|
||||
<a href="mailto:<?php echo $footer_contacts['email']; ?>" class="footer-contacts__email-link" onclick="ym(113689913,'reachGoal','click_btn_contacts'); return true;"><?php echo $footer_contacts['email']; ?></a>
|
||||
</div>
|
||||
<div class="footer-contacts__map">
|
||||
<a href="<?php echo get_permalink(89); ?>" class="footer-contacts__map-link" onclick="ym(100213356,'reachGoal','click_btn_contacts'); return true;">Посмотреть на карте</a>
|
||||
<a href="<?php echo get_permalink(89); ?>" class="footer-contacts__map-link" onclick="ym(113689913,'reachGoal','click_btn_contacts'); return true;">Посмотреть на карте</a>
|
||||
</div>
|
||||
<?php if ($footer_socials) : ?>
|
||||
<div class="footer-contacts__socials footer-socials">
|
||||
@@ -96,7 +96,7 @@
|
||||
<?php endif; ?>
|
||||
<div class="footer-buttons">
|
||||
<a href="<?php echo get_permalink(87); ?>" class="footer-buttons__download-btn btn btn--red">Скачать приложение</a>
|
||||
<a href="https://lk.hantico.ru/" class="footer-buttons__login-btn btn btn--grey" onclick="ym(100213356,'reachGoal','click_btn_lk'); return true;">Войти</a>
|
||||
<a href="https://lk.hantico.ru/" class="footer-buttons__login-btn btn btn--grey" onclick="ym(113689913,'reachGoal','click_btn_lk'); return true;">Войти</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -340,28 +340,16 @@ function theme_yandex_metrika() {
|
||||
<!-- Yandex.Metrika counter -->
|
||||
<script type="text/javascript">
|
||||
(function (m, e, t, r, i, k, a) {
|
||||
m[i] = m[i] || function() {
|
||||
(m[i].a = m[i].a || []).push(arguments)
|
||||
};
|
||||
m[i].l = 1 * new Date();
|
||||
for (var j = 0; j < document.scripts.length; j++) {
|
||||
if (document.scripts[j].src === r) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
m = mfunction(){ (m.a = m.a[]).push(arguments) };
|
||||
m.l = 1 * new Date();
|
||||
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)
|
||||
})(window, document, 'script', 'https://mc.yandex.ru/metrika/tag.js', 'ym');
|
||||
ym(100213356, 'init', {
|
||||
webvisor: true,
|
||||
clickmap: true,
|
||||
referrer: document.referrer,
|
||||
url: location.href,
|
||||
accurateTrackBounce: true,
|
||||
trackLinks: true
|
||||
});
|
||||
})(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 });
|
||||
</script>
|
||||
<noscript>
|
||||
<div><img src="https://mc.yandex.ru/watch/100213356" style="position:absolute; left:-9999px;" alt="" /></div>
|
||||
<div><img src="https://mc.yandex.ru/watch/113689913" style="position:absolute; left:-9999px;" alt="" /></div>
|
||||
</noscript>
|
||||
<!-- /Yandex.Metrika counter -->
|
||||
<?php }
|
||||
|
||||
@@ -5,6 +5,10 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="format-detection" content="telephone=no">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<meta name="yandex-verification" content="108c3fc3b9460988">
|
||||
<meta name="google-site-verification" content="O2H7yDlLp9IRTH0JFgwIXb9fITdy2vimqIccidQGFTI">
|
||||
|
||||
<?php wp_head(); ?>
|
||||
</head>
|
||||
|
||||
@@ -22,7 +26,7 @@
|
||||
</div>
|
||||
<?php theme_menu('header'); ?>
|
||||
<div class="header-buttons">
|
||||
<a href="https://lk.hantico.ru/" class="header-buttons__login-btn btn" onclick="ym(100213356,'reachGoal','click_btn_lk'); return true;">Войти</a>
|
||||
<a href="https://lk.hantico.ru/" class="header-buttons__login-btn btn" onclick="ym(113689913,'reachGoal','click_btn_lk'); return true;">Войти</a>
|
||||
<a href="<?php echo get_permalink(87); ?>" class="header-buttons__download-btn btn btn--red">Скачать приложение</a>
|
||||
<button class="header-buttons__menu-btn"><span></span></button>
|
||||
</div>
|
||||
@@ -33,7 +37,7 @@
|
||||
<div class="container">
|
||||
<div class="header-dropdown__body">
|
||||
<div class="header-login">
|
||||
<a href="https://lk.hantico.ru/" class="header-login__btn btn btn--md" onclick="ym(100213356,'reachGoal','click_btn_lk'); return true;">Войти</a>
|
||||
<a href="https://lk.hantico.ru/" class="header-login__btn btn btn--md" onclick="ym(113689913,'reachGoal','click_btn_lk'); return true;">Войти</a>
|
||||
</div>
|
||||
<?php theme_menu('header', ['submenu_toggle' => true]); ?>
|
||||
</div>
|
||||
|
||||
@@ -11,7 +11,11 @@
|
||||
} else {
|
||||
$page_id = 'option';
|
||||
}
|
||||
$income_title = get_field('income_title', $page_id);
|
||||
|
||||
$this_page_id = get_the_ID();
|
||||
|
||||
$income_title = get_field('calculator_title', $this_page_id)
|
||||
?: get_field('income_title', $page_id);
|
||||
$income_descr = get_field('income_descr', $page_id);
|
||||
if ($income_title && $income_descr) :
|
||||
?>
|
||||
|
||||
@@ -1,10 +1,28 @@
|
||||
<?php
|
||||
$this_page_id = get_the_ID();
|
||||
$reviews = get_field('review_arr', $this_page_id);
|
||||
|
||||
$reviews_args = [
|
||||
'post_type' => 'review',
|
||||
'posts_per_page' => 8,
|
||||
'orderby' => 'date',
|
||||
'order' => 'DESC'
|
||||
];
|
||||
$review_ids = [];
|
||||
foreach ((array) $reviews as $row) {
|
||||
$review = $row['review'] ?? null;
|
||||
$review_id = $review instanceof WP_Post ? $review->ID : (int) $review;
|
||||
if ($review_id > 0) {
|
||||
$review_ids[] = $review_id;
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($review_ids)) {
|
||||
$reviews_args['post__in'] = $review_ids;
|
||||
$reviews_args['posts_per_page'] = -1;
|
||||
$reviews_args['orderby'] = 'post__in';
|
||||
}
|
||||
|
||||
$reviews_query = new WP_Query($reviews_args);
|
||||
if ($reviews_query->have_posts()) :
|
||||
?>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
/>
|
||||
</div>
|
||||
<div class="scheme-item__login">
|
||||
<a href="https://lk.hantico.ru/" class="scheme-item__login-btn btn" onclick="ym(100213356,'reachGoal','click_btn_lk'); return true;">Войти</a>
|
||||
<a href="https://lk.hantico.ru/" class="scheme-item__login-btn btn" onclick="ym(113689913,'reachGoal','click_btn_lk'); return true;">Войти</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php else : ?>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<div class="work-item__buttons">
|
||||
<a href="<?php echo $buttons['first']['url']; ?>" class="work-item__login-btn btn btn--lg btn--red" onclick="ym(100213356,'reachGoal','click_btn_lk'); return true;"><?php echo $buttons['first']['title']; ?></a>
|
||||
<a href="<?php echo $buttons['first']['url']; ?>" class="work-item__login-btn btn btn--lg btn--red" onclick="ym(113689913,'reachGoal','click_btn_lk'); return true;"><?php echo $buttons['first']['title']; ?></a>
|
||||
<?php if ($buttons['second']) : ?>
|
||||
<a href="<?php echo $buttons['second']['url']; ?>" class="work-item__info-btn btn btn--lg btn--transp-red"><?php echo $buttons['second']['title']; ?></a>
|
||||
<?php endif; ?>
|
||||
|
||||
@@ -23,13 +23,13 @@ Template Name: Контакты
|
||||
<div class="contacts-card__title">Связаться с нами</div>
|
||||
<ul class="contacts-card__list">
|
||||
<li class="contacts-card__item contacts-card__item--tel">
|
||||
<a href="tel:<?php echo preg_replace('/[^\d+]/', '', $contacts['tel']); ?>" class="contacts-card__item-link" onclick="ym(100213356,'reachGoal','click_btn_contacts'); return true;"><?php echo $contacts['tel']; ?></a>
|
||||
<a href="tel:<?php echo preg_replace('/[^\d+]/', '', $contacts['tel']); ?>" class="contacts-card__item-link" onclick="ym(113689913,'reachGoal','click_btn_contacts'); return true;"><?php echo $contacts['tel']; ?></a>
|
||||
</li>
|
||||
<li class="contacts-card__item contacts-card__item--address">
|
||||
<span class="contacts-card__item-text"><?php echo $contacts['address']; ?></span>
|
||||
</li>
|
||||
<li class="contacts-card__item contacts-card__item--email">
|
||||
<a href="mailto:<?php echo $contacts['email']; ?>" class="contacts-card__item-link" onclick="ym(100213356,'reachGoal','click_btn_contacts'); return true;"><?php echo $contacts['email']; ?></a>
|
||||
<a href="mailto:<?php echo $contacts['email']; ?>" class="contacts-card__item-link" onclick="ym(113689913,'reachGoal','click_btn_contacts'); return true;"><?php echo $contacts['email']; ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="contacts-card__download">
|
||||
|
||||
@@ -10,15 +10,13 @@ Template Name: Курьерам
|
||||
<main class="main">
|
||||
|
||||
<?php get_template_part('template-parts/hero'); ?>
|
||||
<?php get_template_part('template-parts/services'); ?>
|
||||
<?php get_template_part('template-parts/income'); ?>
|
||||
<?php get_template_part('template-parts/advantages'); ?>
|
||||
<?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/cities'); ?>
|
||||
<?php get_template_part('template-parts/reviews'); ?>
|
||||
<?php get_template_part('template-parts/faq'); ?>
|
||||
<?php get_template_part('template-parts/jobs'); ?>
|
||||
<?php get_template_part('template-parts/getapp'); ?>
|
||||
<?php get_template_part('template-parts/specs'); ?>
|
||||
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/*
|
||||
Template Name: Аудитория
|
||||
*/
|
||||
?>
|
||||
|
||||
|
||||
<?php get_header(); ?>
|
||||
|
||||
<main class="main">
|
||||
|
||||
<?php get_template_part('template-parts/hero'); ?>
|
||||
<?php get_template_part('template-parts/work'); ?>
|
||||
<?php get_template_part('template-parts/advantages'); ?>
|
||||
<?php get_template_part('template-parts/scheme'); ?>
|
||||
<?php get_template_part('template-parts/income'); ?>
|
||||
<?php get_template_part('template-parts/socials'); ?>
|
||||
<?php get_template_part('template-parts/reviews'); ?>
|
||||
<?php get_template_part('template-parts/payments'); ?>
|
||||
<?php get_template_part('template-parts/faq'); ?>
|
||||
<?php get_template_part('template-parts/articles'); ?>
|
||||
<?php get_template_part('template-parts/info'); ?>
|
||||
<?php get_template_part('template-parts/getapp'); ?>
|
||||
<?php get_template_part('template-parts/specs'); ?>
|
||||
|
||||
</main>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
@@ -33,7 +33,7 @@ Template Name: Работа
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<div class="work-item__buttons">
|
||||
<a href="<?php echo $buttons['first']['url']; ?>" class="work-item__login-btn btn btn--lg btn--red" onclick="ym(100213356,'reachGoal','click_btn_lk'); return true;"><?php echo $buttons['first']['title']; ?></a>
|
||||
<a href="<?php echo $buttons['first']['url']; ?>" class="work-item__login-btn btn btn--lg btn--red" onclick="ym(113689913,'reachGoal','click_btn_lk'); return true;"><?php echo $buttons['first']['title']; ?></a>
|
||||
<?php if ($buttons['second']) : ?>
|
||||
<a href="<?php echo $buttons['second']['url']; ?>" class="work-item__info-btn btn btn--lg btn--transp-red"><?php echo $buttons['second']['title']; ?></a>
|
||||
<?php endif; ?>
|
||||
|
||||
Reference in new issue
Block a user