diff --git a/feature/gallery/(1).jpg b/feature/gallery/(1).jpg new file mode 100644 index 0000000..a9632b1 Binary files /dev/null and b/feature/gallery/(1).jpg differ diff --git a/feature/gallery/(2).jpg b/feature/gallery/(2).jpg new file mode 100644 index 0000000..03cdc7f Binary files /dev/null and b/feature/gallery/(2).jpg differ diff --git a/feature/gallery/(3).jpg b/feature/gallery/(3).jpg new file mode 100644 index 0000000..1d80713 Binary files /dev/null and b/feature/gallery/(3).jpg differ diff --git a/feature/gallery/(4).jpg b/feature/gallery/(4).jpg new file mode 100644 index 0000000..401eebf Binary files /dev/null and b/feature/gallery/(4).jpg differ diff --git a/feature/gallery/(5).jpg b/feature/gallery/(5).jpg new file mode 100644 index 0000000..4652603 Binary files /dev/null and b/feature/gallery/(5).jpg differ diff --git a/feature/gallery/(6).jpg b/feature/gallery/(6).jpg new file mode 100644 index 0000000..3a9f070 Binary files /dev/null and b/feature/gallery/(6).jpg differ diff --git a/feature/gallery/(7).jpg b/feature/gallery/(7).jpg new file mode 100644 index 0000000..734e8b9 Binary files /dev/null and b/feature/gallery/(7).jpg differ diff --git a/feature/gallery/(8).jpg b/feature/gallery/(8).jpg new file mode 100644 index 0000000..dcf8137 Binary files /dev/null and b/feature/gallery/(8).jpg differ diff --git a/feature/gallery/(9).jpeg b/feature/gallery/(9).jpeg new file mode 100644 index 0000000..5592ee3 Binary files /dev/null and b/feature/gallery/(9).jpeg differ diff --git a/feature/index.php b/feature/index.php new file mode 100644 index 0000000..4ebee33 --- /dev/null +++ b/feature/index.php @@ -0,0 +1,14 @@ + diff --git a/functions.php b/functions.php index 78cabb0..722fc48 100644 --- a/functions.php +++ b/functions.php @@ -759,7 +759,7 @@ function custom_html() { $(document).ready(function(){ $( \'
\' ).insertBefore( $( ".submit" ) ); $(\'form\').attr(\'onsubmit\',\'return verificationOK();\'); - $(\'a\').attr(\'style\',\'background-image: url('.akina_option('logo_img').'); width: 130px; height: 130px;\'); + $(\'a\').attr(\'style\',\'background-image: url('.akina_option('logo_img').'); \'); $(".forgetmenot").replaceWith(\'
Remember Me
\'); }); '; diff --git a/inc/decorate.php b/inc/decorate.php index 473aeca..5ee3869 100644 --- a/inc/decorate.php +++ b/inc/decorate.php @@ -30,7 +30,7 @@ if ( akina_option('toggle-menu') == 'no') { ?> '', 'type' => 'text'); - $options[] = array( + $options[] = array( 'name' => __('视频名称', 'options_framework_theme'), 'desc' => __('abc.mp4 ,只需要填写视频文件名 abc 即可,多个用英文逗号隔开如 abc,efg ,无需在意顺序,因为加载是随机的抽取的 ', 'options_framework_theme'), 'id' => 'amv_title', 'std' => '', 'type' => 'text'); + $options[] = array( + 'name' => __('封面图', 'options_framework_theme'), + 'desc' => __('此处留空则使用内置API(将需要随机展示的图片放入 /cover/gallery/ 目录)', 'options_framework_theme'), + 'id' => 'cover_img', + 'std' => get_site_url()."/wp-content/themes/Sakura/cover/index.php", + 'type' => 'upload'); + $options[] = array( 'name' => __('背景图滤镜', 'akina'), 'id' => 'focus_img_filter', @@ -736,7 +743,7 @@ function optionsframework_options() { $options[] = array( 'name' => __('关于', 'options_framework_theme'), - 'desc' => __('Theme Sakura v3.0.7 | 主题说明 | 源码', 'options_framework_theme'), + 'desc' => __('Theme Sakura v'.SAKURA_VERSION.' | 主题说明 | 源码', 'options_framework_theme'), 'id' => 'theme_intro', 'std' => '', 'type' => 'typography '); diff --git a/tpl/content-category.php b/tpl/content-category.php index a0783cc..283fa05 100644 --- a/tpl/content-category.php +++ b/tpl/content-category.php @@ -16,7 +16,7 @@ - + diff --git a/tpl/content-thumb.php b/tpl/content-thumb.php index 36b7ab0..bdb6384 100644 --- a/tpl/content-thumb.php +++ b/tpl/content-thumb.php @@ -16,7 +16,7 @@ if(has_post_thumbnail()){ $large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'large'); $post_img = $large_image_url[0]; }else{ - $post_img = get_bloginfo('template_url') . '/images/temp.png'; + $post_img = get_bloginfo('template_url') . '/feature/index.php'; } $the_cat = get_the_category(); // 摘要字数限制