mirror of
https://github.com/mashirozx/sakura.git
synced 2024-11-22 14:58:14 +08:00
Update header.php
This commit is contained in:
parent
fa16cd1794
commit
f01bb76760
@ -66,7 +66,7 @@ if (akina_option('akina_meta') == true) {
|
|||||||
<?php wp_head(); ?>
|
<?php wp_head(); ?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
if (!!window.ActiveXObject || "ActiveXObject" in window) { //is IE?
|
if (!!window.ActiveXObject || "ActiveXObject" in window) { //is IE?
|
||||||
alert('朋友,IE浏览器未适配哦~');
|
alert('朋友,IE浏览器未适配哦~\n如果是 360、QQ 等双核浏览器,请关闭 IE 模式!');
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<?php if(akina_option('google_analytics_id', '')):?>
|
<?php if(akina_option('google_analytics_id', '')):?>
|
||||||
@ -78,6 +78,9 @@ window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}
|
|||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</head>
|
</head>
|
||||||
<body <?php body_class(); ?>>
|
<body <?php body_class(); ?>>
|
||||||
|
<?php
|
||||||
|
if(get_template_directory_uri() != get_site_url().'/wp-content/themes/Sakura') echo '<div style="position:fixed;height:100%;width:100%;top:0;left:0;font-size:20px;z-index:999999;background-color: #fff;">Plz rename theme folder name as <span style="color:red">Sakura</span>!<br>请将主题文件夹名改为 <span style="color:red">Sakura</span>!</div>';
|
||||||
|
php?>
|
||||||
<div class="scrollbar" id="bar"></div>
|
<div class="scrollbar" id="bar"></div>
|
||||||
<section id="main-container">
|
<section id="main-container">
|
||||||
<?php
|
<?php
|
||||||
@ -126,4 +129,4 @@ window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}
|
|||||||
}else {
|
}else {
|
||||||
the_headPattern();
|
the_headPattern();
|
||||||
} ?>
|
} ?>
|
||||||
<div id="content" class="site-content">
|
<div id="content" class="site-content">
|
||||||
|
Loading…
Reference in New Issue
Block a user