add РСЯ

This commit is contained in:
argoexpert press
2024-04-23 18:02:36 +03:00
parent 80196a3156
commit 4f99b398ba
4 changed files with 34 additions and 0 deletions

View File

@@ -79,6 +79,16 @@ document.write('<img src="'+pr+'?uid=18819&ref='+r+'&rd='+rd+'" width="88" heigh
</footer>
</div>
<?php wp_footer(); ?>
<!-- Yandex.RTB R-A-7761284-1 -->
<script>
window.yaContextCb.push(()=>{
Ya.Context.AdvManager.render({
"blockId": "R-A-7761284-1",
"type": "floorAd",
"platform": "touch"
})
})
</script>
</body>
</html>

View File

@@ -30,6 +30,9 @@
</script>
<noscript><div><img src="https://mc.yandex.ru/watch/96621494" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
<!-- Yandex.RTB -->
<script>window.yaContextCb=window.yaContextCb||[]</script>
<script src="https://yandex.ru/ads/system/context.js" async></script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],

View File

@@ -13,6 +13,17 @@
<?php get_template_part('partials/latest-interview-post'); ?>
<!-- Yandex.RTB R-A-7761284-3 -->
<div id="yandex_rtb_R-A-7761284-3"></div>
<script>
window.yaContextCb.push(()=>{
Ya.Context.AdvManager.render({
"blockId": "R-A-7761284-3",
"renderTo": "yandex_rtb_R-A-7761284-3"
})
})
</script>
<?php if (is_front_page()) : ?>
<div class="most-read mobile">
<div class="most-read__inner">

View File

@@ -44,6 +44,16 @@
<div class="article-social">Подписывайтесь на нас в <a href="https://dzen.ru/agroexpert_press?favid=254170145" target="_blank">Дзен</a> и <a href="https://t.me/agroexpert_press" target="_blank">Telegram</a></div>
</div>
</div>
<!-- Yandex.RTB R-A-7761284-2 -->
<div id="yandex_rtb_R-A-7761284-2"></div>
<script>
window.yaContextCb.push(()=>{
Ya.Context.AdvManager.render({
"blockId": "R-A-7761284-2",
"renderTo": "yandex_rtb_R-A-7761284-2"
})
})
</script>
<?php get_template_part('partials/featured-posts'); ?>
<?php if (!in_category('partners')) : ?>
<?php get_template_part('partials/related-posts'); ?>