From 417eb257d03414a1a381169b34a1850e35eda12f Mon Sep 17 00:00:00 2001 From: Mashiro Date: Wed, 2 Jan 2019 12:03:38 +0800 Subject: [PATCH] Fix #29 --- inc/decorate.php | 7 ++++++- options.php | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/inc/decorate.php b/inc/decorate.php index 5ee3869..f6ad935 100644 --- a/inc/decorate.php +++ b/inc/decorate.php @@ -30,7 +30,12 @@ if ( akina_option('toggle-menu') == 'no') { ?> __('封面图', 'options_framework_theme'), 'desc' => __('此处留空则使用内置API(将需要随机展示的图片放入 /cover/gallery/ 目录)', 'options_framework_theme'), 'id' => 'cover_img', - 'std' => get_site_url()."/wp-content/themes/Sakura/cover/index.php", + 'std' => '', 'type' => 'upload'); $options[] = array(