add files
This commit is contained in:
35
content-parthner-gnezdo.php
Normal file
35
content-parthner-gnezdo.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<!-- [/Partners] -->
|
||||
<?php if (1 == 2 && in_array(get_post_type(get_queried_object_id()), array('anew', 'yellow'))): ?>
|
||||
<div class="partners" id="gnezdo" onclick="ym(24504371, 'reachGoal', 'GNEZDO'); return true;">
|
||||
<?php if (wp_is_mobile()): ?>
|
||||
<script src='https://news.gnezdo.ru/loader.js' async></script>
|
||||
<div id='containerId20468'></div>
|
||||
<script>
|
||||
(function (w, d, c, s, t) {
|
||||
w[c] = w[c] || [];
|
||||
w[c].push(function () {
|
||||
gnezdo.create({
|
||||
tizerId: 20468,
|
||||
containerId: 'containerId20468'
|
||||
});
|
||||
});
|
||||
})(window, document, 'gnezdoAsyncCallbacks');
|
||||
</script>
|
||||
<?php else: ?>
|
||||
<script src='https://news.gnezdo.ru/loader.js' async></script>
|
||||
<div id='containerId20465'></div>
|
||||
<script>
|
||||
(function (w, d, c, s, t) {
|
||||
w[c] = w[c] || [];
|
||||
w[c].push(function () {
|
||||
gnezdo.create({
|
||||
tizerId: 20465,
|
||||
containerId: 'containerId20465'
|
||||
});
|
||||
});
|
||||
})(window, document, 'gnezdoAsyncCallbacks');
|
||||
</script>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
Reference in New Issue
Block a user