Error when adding yandex.metrica
-
Error when adding yandex.metrica
I am adding my plugin with the yandex.metrica code to the site. The code was applied to the entire site and to the main page.
After that, the ability to create and edit courses disappears.The code in the plugin:
<?php
/*
Plugin Name: My plugin of yandex
Plugin URI:
Description:
Version: 1.0
Author: vitvlad
Author URI:
*/
?>
<?php
add_action( 'wp_footer', 'bashka_meta', 10, 2);
function bashka_meta() {
if( is_front_page() ) {
?>
<meta name="yandex-verification" content="111111111111111"* />
<?php
}
}
*The number has been replaced
An error notification appears:Error Something Went Wrong!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Error when adding yandex.metrica’ is closed to new replies.