From 4212feeccd7e0d288915bbb2c34de30a9962cb23 Mon Sep 17 00:00:00 2001 From: spirit Date: Sat, 16 Nov 2019 10:13:37 +0800 Subject: [PATCH] fix --- footer.php | 4 +++- functions.php | 26 +++++++++++++------------- languages/en_US.mo | Bin 1267 -> 1267 bytes languages/en_US.po | 14 +++++++------- languages/sakura.pot | 12 ++++++------ languages/zh_CN.mo | Bin 32480 -> 32534 bytes languages/zh_CN.po | 18 ++++++++---------- style.css | 11 +++++++++++ 8 files changed, 48 insertions(+), 37 deletions(-) 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 152f1015de6491df4668527ff76add190c546ef4..d3ca127ad7d120640c9949f670a7ca2e55516c58 100644 GIT binary patch delta 19 bcmey&`I&RWH%2xy1w#WX!_9vfzcT>?+XXI5h-%$R+{Fk>tkvM-adZxb^1HDfo37T3}r6~cX~{+3dR8)^`; zx7_NcLfleXMA}hEmW0s#eE-j{`@CL1@AEt7JkL4LdCv39OnrOHx9qmhf3i}@QpYjL z=Ugg2ALZOxl@nC!-2QauBJco4;wR<_EJuC{%i~2w;vU{$QnKXi2+aRiP=P3*rIjbEClkOABkRR4%- z&gq_VFdy&6NXB=wC?ry`0ORmqSd4qH5vFB17lyqs1_$6>I2Om_YRts))x8PUL0zvq zYQQl_7dIPq{(7u{JFy(&yZ0%C;}O)1kD+FK9<^lAHM}LxLfv5=YDx34A{L>ReiYWj zNq7gYL2lk{LtXDEcET&z2U}&c{yc8Cj6x``MGf$h<-0JP{0-EA`%riG6>6m}VBWj#t=4#V*(rr~Xzf~hsVi9Cse z$=9PcVQ8*bUjdWIYhXU!jrDOBmc{MZ5O<^cozG?cwd=!cc^$G)4LKNs1z3O`EMI_{ z*kaVgm!o$7CM<`0QIBvRYT{p_HuF`~9apUFTno&?{y5A}K}-GyYT$$BkEo@-jXE)* zj<*+bQIDcEmd8G*M^}s*cr0pjJ%So&F*d_PsQ%$~onz5l9BMp&D+*B*`r-;KMxW2Q zzfc4F*ipK(IMim$z!+?V6|fy@MS7!FY%pr`4Y&F!7(qVW+8;wr=m{L6_kSM+4V1+O zkd09n=!~1OKW@Z``p&h*9jFOiNA(M7;GGwT+U42Eo9jAY1ssQTbu&;aw*{Nvdl;_w z|273(D2$i7CB~yp?1ePD5vV)+33VsGpjO~AW?~t3R2){rO4tN7fi4(^6HzPtkmYkw z=RbjQ8sHgg*o<1r9hSd=k>u}UEFMO^PT!#>atkYC7+*GQYtr+ApD2GJ*BgCd)>h-vi^Z z1SjBQ$Q$i0H(`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Pxy>% zEE&Hc-1GnRckXsOLsc&mlgPUeY1StPL&-nJ3V0g7v9?6=?UXCwTC3|FY?qckCX$+6 z)O=68Pi(Q)5!By6=vYb&BQ7f8=t2Diyi62OZjJFoI_0LQBZ_ECo=FTVc_Zzmq>_cX gU8|KG?$$mmJS(GRt2SB9OX7R?N-mi>X?4v10gwJ_-2eap 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; }