fix
This commit is contained in:
parent
e01ff461c2
commit
4212feeccd
|
@ -38,15 +38,17 @@
|
||||||
</div>
|
</div>
|
||||||
</div><!-- .site-info -->
|
</div><!-- .site-info -->
|
||||||
</footer><!-- #colophon -->
|
</footer><!-- #colophon -->
|
||||||
|
<?php if (akina_option('sakura_widget')) : ?>
|
||||||
<aside id="secondary" class="widget-area" role="complementary" style="left: -400px;">
|
<aside id="secondary" class="widget-area" role="complementary" style="left: -400px;">
|
||||||
<button class="show_hide">
|
<button class="show_hide">
|
||||||
<i class="fa fa-magic" aria-hidden="true"></i>
|
<i class="fa fa-magic" aria-hidden="true"></i>
|
||||||
</button>
|
</button>
|
||||||
<div class="heading"><?php _e('Widget') /*小工具*/ ?></div>
|
<div class="heading"><?php _e('Widgets') /*小工具*/ ?></div>
|
||||||
<div class="sakura_widget">
|
<div class="sakura_widget">
|
||||||
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('sakura_widget')) : endif; ?>
|
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('sakura_widget')) : endif; ?>
|
||||||
</div>
|
</div>
|
||||||
</aside>
|
</aside>
|
||||||
|
<?php endif; ?>
|
||||||
<div class="openNav no-select">
|
<div class="openNav no-select">
|
||||||
<div class="iconflat no-select">
|
<div class="iconflat no-select">
|
||||||
<div class="icon"></div>
|
<div class="icon"></div>
|
||||||
|
|
|
@ -645,19 +645,19 @@ function wpjam_custom_upload_dir( $uploads ) {
|
||||||
* 删除自带小工具
|
* 删除自带小工具
|
||||||
*/
|
*/
|
||||||
function unregister_default_widgets() {
|
function unregister_default_widgets() {
|
||||||
//unregister_widget("WP_Widget_Pages");
|
unregister_widget("WP_Widget_Pages");
|
||||||
unregister_widget("WP_Widget_Calendar");
|
unregister_widget("WP_Widget_Calendar");
|
||||||
//unregister_widget("WP_Widget_Archives");
|
unregister_widget("WP_Widget_Archives");
|
||||||
unregister_widget("WP_Widget_Links");
|
unregister_widget("WP_Widget_Links");
|
||||||
unregister_widget("WP_Widget_Meta");
|
unregister_widget("WP_Widget_Meta");
|
||||||
//unregister_widget("WP_Widget_Search");
|
unregister_widget("WP_Widget_Search");
|
||||||
unregister_widget("WP_Widget_Text");
|
//unregister_widget("WP_Widget_Text");
|
||||||
//unregister_widget("WP_Widget_Categories");
|
unregister_widget("WP_Widget_Categories");
|
||||||
//unregister_widget("WP_Widget_Recent_Posts");
|
unregister_widget("WP_Widget_Recent_Posts");
|
||||||
unregister_widget("WP_Widget_Recent_Comments");
|
//unregister_widget("WP_Widget_Recent_Comments");
|
||||||
unregister_widget("WP_Widget_RSS");
|
//unregister_widget("WP_Widget_RSS");
|
||||||
unregister_widget("WP_Widget_Tag_Cloud");
|
//unregister_widget("WP_Widget_Tag_Cloud");
|
||||||
//unregister_widget("WP_Nav_Menu_Widget");
|
unregister_widget("WP_Nav_Menu_Widget");
|
||||||
}
|
}
|
||||||
add_action("widgets_init", "unregister_default_widgets", 11);
|
add_action("widgets_init", "unregister_default_widgets", 11);
|
||||||
|
|
||||||
|
|
Binary file not shown.
|
@ -1,8 +1,8 @@
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Sakura\n"
|
"Project-Id-Version: Sakura\n"
|
||||||
"POT-Creation-Date: 2019-11-15 23:51+0800\n"
|
"POT-Creation-Date: 2019-11-16 10:08+0800\n"
|
||||||
"PO-Revision-Date: 2019-11-15 23:51+0800\n"
|
"PO-Revision-Date: 2019-11-16 10:11+0800\n"
|
||||||
"Last-Translator: \n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"Language: en_US\n"
|
"Language: en_US\n"
|
||||||
|
@ -38,7 +38,7 @@ msgstr "Return to home page"
|
||||||
msgid "Don't worry, search in site?"
|
msgid "Don't worry, search in site?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: 404.php:53 footer.php:71 search.php:42
|
#: 404.php:53 footer.php:73 search.php:42
|
||||||
msgid "Search..."
|
msgid "Search..."
|
||||||
msgstr "Search..."
|
msgstr "Search..."
|
||||||
|
|
||||||
|
@ -130,15 +130,15 @@ msgstr ""
|
||||||
msgid "Site"
|
msgid "Site"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: footer.php:45
|
#: footer.php:46
|
||||||
msgid "Widget"
|
msgid "Widgets"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: footer.php:84 footer.php:92
|
#: footer.php:86 footer.php:94
|
||||||
msgid "Want to find something?"
|
msgid "Want to find something?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: footer.php:94
|
#: footer.php:96
|
||||||
msgid "Search"
|
msgid "Search"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
||||||
"Project-Id-Version: Sakura\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"
|
"PO-Revision-Date: 2019-11-01 14:27+0800\n"
|
||||||
"Last-Translator: \n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
|
@ -38,7 +38,7 @@ msgstr ""
|
||||||
msgid "Don't worry, search in site?"
|
msgid "Don't worry, search in site?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: 404.php:53 footer.php:71 search.php:42
|
#: 404.php:53 footer.php:73 search.php:42
|
||||||
msgid "Search..."
|
msgid "Search..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -130,15 +130,15 @@ msgstr ""
|
||||||
msgid "Site"
|
msgid "Site"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: footer.php:45
|
#: footer.php:46
|
||||||
msgid "Widget"
|
msgid "Widgets"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: footer.php:84 footer.php:92
|
#: footer.php:86 footer.php:94
|
||||||
msgid "Want to find something?"
|
msgid "Want to find something?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: footer.php:94
|
#: footer.php:96
|
||||||
msgid "Search"
|
msgid "Search"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
Binary file not shown.
|
@ -1,8 +1,8 @@
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Sakura\n"
|
"Project-Id-Version: Sakura\n"
|
||||||
"POT-Creation-Date: 2019-11-15 23:50+0800\n"
|
"POT-Creation-Date: 2019-11-16 10:08+0800\n"
|
||||||
"PO-Revision-Date: 2019-11-15 23:50+0800\n"
|
"PO-Revision-Date: 2019-11-16 10:11+0800\n"
|
||||||
"Last-Translator: \n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"Language: zh_CN\n"
|
"Language: zh_CN\n"
|
||||||
|
@ -38,7 +38,7 @@ msgstr "返回首页"
|
||||||
msgid "Don't worry, search in site?"
|
msgid "Don't worry, search in site?"
|
||||||
msgstr "别着急,试试站内检索?"
|
msgstr "别着急,试试站内检索?"
|
||||||
|
|
||||||
#: 404.php:53 footer.php:71 search.php:42
|
#: 404.php:53 footer.php:73 search.php:42
|
||||||
msgid "Search..."
|
msgid "Search..."
|
||||||
msgstr "搜索..."
|
msgstr "搜索..."
|
||||||
|
|
||||||
|
@ -130,15 +130,15 @@ msgstr "禁止小广告😀"
|
||||||
msgid "Site"
|
msgid "Site"
|
||||||
msgstr "网站"
|
msgstr "网站"
|
||||||
|
|
||||||
#: footer.php:45
|
#: footer.php:46
|
||||||
msgid "Widget"
|
msgid "Widgets"
|
||||||
msgstr "小工具"
|
msgstr "小工具"
|
||||||
|
|
||||||
#: footer.php:84 footer.php:92
|
#: footer.php:86 footer.php:94
|
||||||
msgid "Want to find something?"
|
msgid "Want to find something?"
|
||||||
msgstr "想要找点什么呢?"
|
msgstr "想要找点什么呢?"
|
||||||
|
|
||||||
#: footer.php:94
|
#: footer.php:96
|
||||||
msgid "Search"
|
msgid "Search"
|
||||||
msgstr "搜索"
|
msgstr "搜索"
|
||||||
|
|
||||||
|
@ -1020,10 +1020,8 @@ msgid "Post share"
|
||||||
msgstr "文章分享"
|
msgstr "文章分享"
|
||||||
|
|
||||||
#: options.php:587
|
#: options.php:587
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Previous"
|
|
||||||
msgid "Previous and Next"
|
msgid "Previous and Next"
|
||||||
msgstr "上一页"
|
msgstr "上一篇下一篇"
|
||||||
|
|
||||||
#: options.php:597
|
#: options.php:597
|
||||||
msgid "Author profile"
|
msgid "Author profile"
|
||||||
|
|
11
style.css
11
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;
|
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{
|
.widget-area .heading{
|
||||||
color: #555;
|
color: #555;
|
||||||
font-size: 20px;
|
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;
|
border-color: #ddd;
|
||||||
outline:none;
|
outline:none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
border: none;
|
||||||
border-left-width: 0;
|
border-left-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue