delete fb pixel

This commit is contained in:
2022-03-12 16:30:23 +03:00
parent 556f635fd4
commit a329bdd796
3 changed files with 15 additions and 7 deletions

View File

@@ -12,6 +12,17 @@ define('BASE_VIJ', ABSPATH.'wp-content/themes/vij/');
require ABSPATH.'/vendor/autoload.php';
#отключаем автообновления
add_filter('pre_site_transient_update_core',create_function('$a', "return null;"));
wp_clear_scheduled_hook('wp_version_check');
remove_action( 'load-update-core.php', 'wp_update_plugins' );
add_filter( 'pre_site_transient_update_plugins', create_function( '$a', "return null;" ) );
wp_clear_scheduled_hook( 'wp_update_plugins' );
require get_template_directory().'/src/calend-block.php';
require get_template_directory().'/src/calendar.php';

View File

@@ -11,7 +11,8 @@
<link rel="stylesheet" href="<?php echo get_stylesheet_uri();?>?ver=155">
<?endif?>
<link href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" rel="stylesheet">
<!--<link href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" rel="stylesheet">-->
<link href="<?php echo get_stylesheet_directory_uri()?>/pub/fontawesome.css" rel="stylesheet">
<script type='text/javascript' src="<?php echo get_stylesheet_directory_uri()?>/scripts/jquery-3.6.0.min.js"></script>
<script type='text/javascript' src="<?php echo get_stylesheet_directory_uri()?>/scripts/golos.js"></script>
<meta property="og:title" content="<?php wp_title('|', true, 'right');?><?=get_bloginfo('name')?>" />
@@ -38,12 +39,7 @@
</head>
<body>
<!-- Facebook Pixel Code -->
<noscript>
<img height="1" width="1" src="https://www.facebook.com/tr?id=126851132579904&ev=PageView
&noscript=1"/>
</noscript>
<!-- End Facebook Pixel Code -->
<?if (defined('TESTMODE') and TESTMODE == 1):?>
<style>

View File

@@ -4,6 +4,7 @@
*
*/
get_header();
$nn = 0;?>