Merge pull request #35 from kot4ri/patch-1

fix
This commit is contained in:
Mashiro 2019-01-02 21:00:20 +08:00 committed by GitHub
commit bb03fc3b8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ if ( akina_option('toggle-menu') == 'no') { ?>
if (akina_option('cover_img')) {
$imgurl = akina_option('cover_img');
} else {
$imgurl = 'https://sakura.2heng.xin/wp-content/themes/Sakura/cover/index.php';
$imgurl = get_site_url()."/wp-content/themes/Sakura/cover/index.php";
}
@ -85,4 +85,4 @@ $bg_style = akina_option('focus_height') ? 'background-position: center center;b
<?php endif;?>
</style>
<?php }
add_action('wp_head', 'customizer_css');
add_action('wp_head', 'customizer_css');