Update header.php

This commit is contained in:
Mashiro 2019-08-25 20:07:23 +08:00 committed by GitHub
parent ee05e92db0
commit f43721035c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -78,9 +78,7 @@ window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}
<?php endif; ?> <?php endif; ?>
</head> </head>
<body <?php body_class(); ?>> <body <?php body_class(); ?>>
<?php <?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 the theme folder name as <span style="color:red">Sakura</span>!<br>请将主题文件夹名改为 <span style="color:red">Sakura</span></div>'; ?>
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 the 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