diff --git a/footer.php b/footer.php index 560dd26..f0f3191 100644 --- a/footer.php +++ b/footer.php @@ -38,15 +38,17 @@ + +
diff --git a/functions.php b/functions.php index 7f4978f..7c7ef87 100644 --- a/functions.php +++ b/functions.php @@ -645,19 +645,19 @@ function wpjam_custom_upload_dir( $uploads ) { * 删除自带小工具 */ function unregister_default_widgets() { - //unregister_widget("WP_Widget_Pages"); - unregister_widget("WP_Widget_Calendar"); - //unregister_widget("WP_Widget_Archives"); - unregister_widget("WP_Widget_Links"); - unregister_widget("WP_Widget_Meta"); - //unregister_widget("WP_Widget_Search"); - unregister_widget("WP_Widget_Text"); - //unregister_widget("WP_Widget_Categories"); - //unregister_widget("WP_Widget_Recent_Posts"); - unregister_widget("WP_Widget_Recent_Comments"); - unregister_widget("WP_Widget_RSS"); - unregister_widget("WP_Widget_Tag_Cloud"); - //unregister_widget("WP_Nav_Menu_Widget"); + unregister_widget("WP_Widget_Pages"); + unregister_widget("WP_Widget_Calendar"); + unregister_widget("WP_Widget_Archives"); + unregister_widget("WP_Widget_Links"); + unregister_widget("WP_Widget_Meta"); + unregister_widget("WP_Widget_Search"); + //unregister_widget("WP_Widget_Text"); + unregister_widget("WP_Widget_Categories"); + unregister_widget("WP_Widget_Recent_Posts"); + //unregister_widget("WP_Widget_Recent_Comments"); + //unregister_widget("WP_Widget_RSS"); + //unregister_widget("WP_Widget_Tag_Cloud"); + unregister_widget("WP_Nav_Menu_Widget"); } add_action("widgets_init", "unregister_default_widgets", 11); diff --git a/languages/en_US.mo b/languages/en_US.mo index 152f101..d3ca127 100644 Binary files a/languages/en_US.mo and b/languages/en_US.mo differ diff --git a/languages/en_US.po b/languages/en_US.po index 7447b16..d17da4b 100644 --- a/languages/en_US.po +++ b/languages/en_US.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: Sakura\n" -"POT-Creation-Date: 2019-11-15 23:51+0800\n" -"PO-Revision-Date: 2019-11-15 23:51+0800\n" +"POT-Creation-Date: 2019-11-16 10:08+0800\n" +"PO-Revision-Date: 2019-11-16 10:11+0800\n" "Last-Translator: \n" "Language-Team: \n" "Language: en_US\n" @@ -38,7 +38,7 @@ msgstr "Return to home page" msgid "Don't worry, search in site?" msgstr "" -#: 404.php:53 footer.php:71 search.php:42 +#: 404.php:53 footer.php:73 search.php:42 msgid "Search..." msgstr "Search..." @@ -130,15 +130,15 @@ msgstr "" msgid "Site" msgstr "" -#: footer.php:45 -msgid "Widget" +#: footer.php:46 +msgid "Widgets" msgstr "" -#: footer.php:84 footer.php:92 +#: footer.php:86 footer.php:94 msgid "Want to find something?" msgstr "" -#: footer.php:94 +#: footer.php:96 msgid "Search" msgstr "" diff --git a/languages/sakura.pot b/languages/sakura.pot index c38eb47..2a78768 100644 --- a/languages/sakura.pot +++ b/languages/sakura.pot @@ -3,7 +3,7 @@ msgid "" msgstr "" "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" "Project-Id-Version: Sakura\n" -"POT-Creation-Date: 2019-11-15 23:51+0800\n" +"POT-Creation-Date: 2019-11-16 10:11+0800\n" "PO-Revision-Date: 2019-11-01 14:27+0800\n" "Last-Translator: \n" "Language-Team: \n" @@ -38,7 +38,7 @@ msgstr "" msgid "Don't worry, search in site?" msgstr "" -#: 404.php:53 footer.php:71 search.php:42 +#: 404.php:53 footer.php:73 search.php:42 msgid "Search..." msgstr "" @@ -130,15 +130,15 @@ msgstr "" msgid "Site" msgstr "" -#: footer.php:45 -msgid "Widget" +#: footer.php:46 +msgid "Widgets" msgstr "" -#: footer.php:84 footer.php:92 +#: footer.php:86 footer.php:94 msgid "Want to find something?" msgstr "" -#: footer.php:94 +#: footer.php:96 msgid "Search" msgstr "" diff --git a/languages/zh_CN.mo b/languages/zh_CN.mo index 8f8aaea..a83661d 100644 Binary files a/languages/zh_CN.mo and b/languages/zh_CN.mo differ diff --git a/languages/zh_CN.po b/languages/zh_CN.po index 263c731..7d5c135 100644 --- a/languages/zh_CN.po +++ b/languages/zh_CN.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: Sakura\n" -"POT-Creation-Date: 2019-11-15 23:50+0800\n" -"PO-Revision-Date: 2019-11-15 23:50+0800\n" +"POT-Creation-Date: 2019-11-16 10:08+0800\n" +"PO-Revision-Date: 2019-11-16 10:11+0800\n" "Last-Translator: \n" "Language-Team: \n" "Language: zh_CN\n" @@ -38,7 +38,7 @@ msgstr "返回首页" msgid "Don't worry, search in site?" msgstr "别着急,试试站内检索?" -#: 404.php:53 footer.php:71 search.php:42 +#: 404.php:53 footer.php:73 search.php:42 msgid "Search..." msgstr "搜索..." @@ -130,15 +130,15 @@ msgstr "禁止小广告😀" msgid "Site" msgstr "网站" -#: footer.php:45 -msgid "Widget" +#: footer.php:46 +msgid "Widgets" msgstr "小工具" -#: footer.php:84 footer.php:92 +#: footer.php:86 footer.php:94 msgid "Want to find something?" msgstr "想要找点什么呢?" -#: footer.php:94 +#: footer.php:96 msgid "Search" msgstr "搜索" @@ -1020,10 +1020,8 @@ msgid "Post share" msgstr "文章分享" #: options.php:587 -#, fuzzy -#| msgid "Previous" msgid "Previous and Next" -msgstr "上一页" +msgstr "上一篇下一篇" #: options.php:597 msgid "Author profile" diff --git a/style.css b/style.css index 30c1e58..9882d7e 100644 --- a/style.css +++ b/style.css @@ -8524,6 +8524,16 @@ h1[id*=toc-head]::before,h2[id*=toc-head]::before,h3[id*=toc-head]::before,h4[id overflow-y: auto; } +.widget-area .sakura_widget h2 { + border-bottom: 1px solid #000; +} + +.widget-area .sakura_widget ol,.widget-area .sakura_widget ul { + margin: 0; + padding: 0; + list-style: none; +} + .widget-area .heading{ color: #555; font-size: 20px; @@ -8542,6 +8552,7 @@ h1[id*=toc-head]::before,h2[id*=toc-head]::before,h3[id*=toc-head]::before,h4[id border-color: #ddd; outline:none; box-shadow: none; + border: none; border-left-width: 0; }