Files
profile/counters.php
Andrey Kuvshinov 8fc8cbae32 add files
2025-07-09 21:21:17 +03:00

11 lines
762 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php if(!is_user_logged_in()): ?>
<?php if(get_queried_object_id() !== 816928): //816928 - страница входа с прокладок, с нее идет редирект на целевую продвигаемую страницу, на ней счетчиков быть не должно ?>
<?php if(get_queried_object_id() !== 1014199): //На этой странице надо убрать счетчики ЛИ и ГА ?>
<?php get_template_part('counters-ga'); ?>
<?php get_template_part('counters-li'); ?>
<?php endif; ?>
<?php if(!is_single() && !wp_is_mobile()): ?>
<?php get_template_part('counters-ym'); ?>
<?php endif; ?>
<?php endif; ?>
<?php endif; ?>