本文最后更新于 75 天前,若内容或图片失效,请留言反馈。部分素材来自网络,若不小心影响到您的利益,请联系我们删除。
页面背景:
-
地址:https://pic.rmb.bdstatic.com/bjh/4b9fbf64e84fded53a4199b4f8d219ba.png
-
地址:https://pic.rmb.bdstatic.com/bjh/586b1b855814cb2643c48891c5fd2cee.jpeg
图片处理
- 图片压缩:TinyPNG
- Webp转换:AnyWebp
- 图床:Postimages
Cloudflare CDN 设置
参考:https://cloud.tencent.com/developer/article/1774198
WordPress 设置
后台设置
- 2023-01-14,更新
固定链接结构
为自定义结构
:/archives/%postname%.html
。在文章
模块中,使用快速编辑
编辑所有文章别名
,来配合固定链接。
插件
- 标签云插件:Cool Tag Cloud
- Google Adsense:Site Kit by Google
- Reply for View:自建的回复可见的插件
- UpdraftPlus:备份/恢复
- WP Githuber MD:MarkDown输入插件
- XML Sitemaps:SiteMap插件
- WP Super Cache:超级缓存插件
网站特效
- 百度统计:放置在主题页脚
footer.php
文件中</body>
之前。添加时间:2022-05-13
<!--百度统计-->
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?71e39fd0f5218799bd4c9fc2016ee4b3";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
- 网站添加鼠标点击烟花特效:放置在主题页脚
footer.php
文件中</body>
之前。
<!--网站添加鼠标点击烟花特效-->
<canvas class="fireworks" style="position:fixed;left:0;top:0;z-index:99999999;pointer-events:none;"></canvas>
<script type="text/javascript" src="https://www.5iehome.cc/wp-content/themes/argon/firework.js"></script>
- 依米花播放器:放置在主题页脚
footer.php
文件中</body>
之前。
<!--依米花播放器-->
<script id="xplayer" src="https://music.piphp.com/Static/player/player.js" key="6280ecc0ce424" m="1"></script>
- 网站添加看板娘:放置在主题页脚
footer.php
文件中</body>
之前。
<!--网站添加看板娘-->
<script src="https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/lib/L2Dwidget.min.js"></script>
<script>
L2Dwidget.init({
"model": {
//jsonpath控制显示模型
jsonPath: "https://imuncle.github.io/live2d/model/wanko/wanko.model.json",
"scale": 1
},
"display": {
"position": "right", //表现位置
"width": 100, //模型的宽度
"height": 200, //模型的高度
"hOffset": 220,
"vOffset": -40
},
"mobile": {
"show": true,
"scale": 0.5
},
"react": {
"opacityDefault": 0.7,
"opacityOnHover": 0.2
}
});
</script>
网站加速
- 禁用
Jquery Migrate
文件
下面的代码添加到主题文件的functions.php
里面,可以防止将jQuery Migrate
脚本加载到前端,同时保持jQuery
脚本本身完整无缺。它仍在管理员中加载,不会破坏任何内容。
//移除jQuery Migrate脚本
//https://blog.naibabiji.com/news/jin-yong-jquery-migrate-min-js.html
function dequeue_jquery_migrate( $scripts ) {
if ( ! is_admin() && ! empty( $scripts->registered['jquery'] ) ) {
$scripts->registered['jquery']->deps = array_diff(
$scripts->registered['jquery']->deps,
[ 'jquery-migrate' ]
);
}
}
add_action( 'wp_default_scripts', 'dequeue_jquery_migrate' );
额外 CSS 设置
/*设置网站字体*/
/*原则上你可以设置多个字体,然后在不同的部位使用不同的字体*/
@font-face{
font-family:btfFont;
src:
url(https://fastly.jsdelivr.net/gh/huangwb8/[email protected]/fonts/13.woff2) format('woff2')
}
body{
font-family:"btfFont" !important
}
/*横幅字体大小*/
.banner-title {
font-size: 2.5em;
}
.banner-subtitle{
font-size: 20px;
}
/*文章标题字体大小*/
.post-title {
font-size: 30px
}
/*正文字体大小(不包含代码)*/
.post-content p{
font-size: 1.25rem;
}
li{
font-size: 1.2rem;
}
/*正文图片居中显示*/
.fancybox-wrapper {
margin: auto;
}
/*顶栏菜单放大*/
/*这里也可以设置刚刚我们设置的btfFont字体*/
.navbar-nav .nav-link {
font-size: 1rem;
font-family: 'btfFont';
}
.navbar-brand {
font-family: 'Noto Serif SC',serif;
font-size: 1.25rem;
margin-right: 2rem;
padding-bottom: .2rem;
}
.nav-link-inner--text {
font-size: 1.1rem;
}
.navbar-nav .nav-item {
margin-right:0;
}
.mr-lg-5, .mx-lg-5 {
margin-right:1rem !important;
}
.navbar-toggler-icon {
width: 1.5rem;
height: 1.5rem;
}
.navbar-expand-lg .navbar-nav .nav-link {
padding-right: 0.9rem;
padding-left: 1rem;
}
Argon 主题设置 (2023-03-24)
{"argon_theme_color":"#009688","argon_theme_color_hex_preview":"#009688","argon_show_customize_theme_color_picker":false,"argon_enable_immersion_color":"true","argon_darkmode_autoswitch":"false","argon_enable_amoled_dark":"false","argon_card_radius":"15","argon_card_shadow":"default","argon_page_layout":"double-reverse","argon_article_list_waterflow":"1","argon_article_list_layout":"2","argon_font":"sans-serif","argon_assets_path":"sourcegcdn","argon_custom_assets_path":"","argon_wp_path":"/","argon_dateformat":"YMD","argon_enable_headroom":"false","argon_toolbar_title":"--hidden--","argon_toolbar_icon":"","argon_toolbar_icon_link":"","argon_toolbar_blur":"false","argon_banner_title":"E 家 分 享","argon_banner_subtitle":"分享实用网站及软件技巧","argon_banner_size":"fullscreen","argon_page_background_banner_style":"transparent","argon_show_toolbar_mask":true,"argon_banner_background_url":"--bing--","argon_banner_background_color_type":"shape-default","argon_banner_background_hide_shapes":true,"argon_enable_banner_title_typing_effect":"false","argon_banner_typing_effect_interval":"100","argon_page_background_url":"http://browser9.qhimg.com/bdr/__85/t0100dc32508c7e4d7a.jpg","argon_page_background_dark_url":"","argon_page_background_opacity":"1","argon_sidebar_banner_title":"","argon_sidebar_banner_subtitle":"最实用的经验,分享最需要的你","argon_sidebar_auther_name":"E家之长","argon_sidebar_auther_image":"https://www.5iehome.cc/wp-content/uploads/5iehome_cc_logo.webp","argon_sidebar_author_description":"","argon_sidebar_announcement":"","argon_fab_show_settings_button":"true","argon_fab_show_darkmode_button":"false","argon_fab_show_gotocomment_button":"true","argon_seo_description":"E 家 分 享 - 分享生活,分享快乐!","argon_seo_keywords":"E家分享,5iehome.cc,我爱E家,E家论坛,LSSTUDIO","argon_article_meta":"author|time|views|categories","argon_show_readingtime":"false","argon_reading_speed":"300","argon_reading_speed_en":"160","argon_reading_speed_code":"20","argon_show_thumbnail_in_banner_in_content_page":"true","argon_first_image_as_thumbnail_by_default":"true","argon_reference_list_title":"参考","argon_show_sharebtn":"true","argon_show_headindex_number":"true","argon_donate_qrcode_url":"","argon_additional_content_after_post":"<i class=\"fa fa-user\"></i> 版权归属: %author%\n<i class=\"fa fa-link\"></i> 本文链接: %link%\n<i class=\"fa fa-share-alt\"></i> 许可协议: 本文使用《署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)》协议授权","argon_related_post":"category,tag","argon_related_post_sort_orderby":"date","argon_related_post_sort_order":"DESC","argon_related_post_limit":"10","argon_article_header_style":"article-header-style-2","argon_outdated_info_time_type":"modifiedtime","argon_outdated_info_days":"1","argon_outdated_info_tip_type":"inpost","argon_outdated_info_tip_content":"本文最后更新于 %date_delta% 天前,若内容或图片失效,请留言反馈。部分素材来自网络,若不小心影响到您的利益,请联系我们删除。","argon_archives_timeline_show_month":"true","argon_archives_timeline_url":"https://www.5iehome.cc/archive","argon_footer_html":"Copyright ©2022 版权所有 E家分享\n\n<span id=\"momk\"></span><span id=\"momk\" style=\"color: #ff0000;\"></span>\n<script type=\"text/javascript\">\nfunction NewDate(str) {\nstr = str.split('-');\nvar date = new Date();\ndate.setUTCFullYear(str[0], str[1] - 1, str[2]);\ndate.setUTCHours(0, 0, 0, 0);\nreturn date;\n}\nfunction momxc() {\nvar birthDay =NewDate(\"2020-3-12\");\nvar today=new Date();\nvar timeold=today.getTime()-birthDay.getTime();\nvar sectimeold=timeold/1000\nvar secondsold=Math.floor(sectimeold);\nvar msPerDay=24*60*60*1000; var e_daysold=timeold/msPerDay;\nvar daysold=Math.floor(e_daysold);\nvar e_hrsold=(daysold-e_daysold)*-24;\nvar hrsold=Math.floor(e_hrsold);\nvar e_minsold=(hrsold-e_hrsold)*-60;\nvar minsold=Math.floor((hrsold-e_hrsold)*-60); var seconds=Math.floor((minsold-e_minsold)*-60).toString();\ndocument.getElementById(\"momk\").innerHTML = \"本站已运行 \"+daysold+\" 天 \"+hrsold+\" 小时 \"+minsold+\" 分 \"+seconds+\" 秒\";\nsetTimeout(momxc, 1000);\n}momxc();\n</script>","argon_enable_code_highlight":"true","argon_code_theme":"tomorrow-night-blue","argon_code_highlight_hide_linenumber":"false","argon_code_highlight_break_line":"true","argon_code_highlight_transparent_linenumber":"false","argon_math_render":"none","argon_mathjax_cdn_url":"//cdn.jsdelivr.net/npm/[email protected]/es5/tex-chtml-full.js","argon_mathjax_v2_cdn_url":"//cdn.jsdelivr.net/npm/[email protected]/MathJax.js?config=TeX-AMS_HTML","argon_katex_cdn_url":"//cdn.jsdelivr.net/npm/[email protected]/dist/","argon_enable_lazyload":"true","argon_lazyload_threshold":"800","argon_lazyload_effect":"fadeIn","argon_lazyload_loading_style":"6","argon_enable_fancybox":"true","argon_enable_zoomify":"false","argon_zoomify_duration":"200","argon_zoomify_easing":"cubic-bezier(0.4,0,0,1)","argon_zoomify_scale":"0.9","argon_enable_pangu":"false","argon_custom_html_head":"","argon_custom_html_foot":"","argon_enable_smoothscroll_type":"1","argon_enable_into_article_animation":"false","argon_disable_pjax_animation":"true","argon_comment_pagination_type":"feed","argon_comment_emotion_keyboard":"false","argon_hide_name_email_site_input":"false","argon_comment_need_captcha":"false","argon_get_captcha_by_ajax":"false","argon_comment_allow_markdown":"true","argon_comment_allow_editing":"true","argon_comment_allow_privatemode":"false","argon_comment_allow_mailnotice":"false","argon_comment_mailnotice_checkbox_checked":false,"argon_comment_enable_qq_avatar":"false","argon_comment_avatar_vcenter":"false","argon_who_can_visit_comment_edit_history":"admin","argon_enable_comment_pinning":"true","argon_enable_comment_upvote":"true","argon_comment_ua":"platform,browser,version","argon_show_comment_parent_info":"true","argon_fold_long_comments":"true","argon_gravatar_cdn":"gravatar.pho.ink/avatar/","argon_text_gravatar":"false","argon_enable_search_filters":"true","argon_search_filters_type":"*post,*page","argon_pjax_disabled":"false","argon_hide_categories":"","argon_enable_login_css":"true","argon_home_show_shuoshuo":"false","argon_fold_long_shuoshuo":"false","argon_enable_timezone_fix":"false","argon_hide_shortcode_in_preview":"true","argon_trim_words_count":"100","argon_enable_mobile_scale":"false","argon_disable_googlefont":"true","argon_disable_codeblock_style":"false","argon_update_source":"github","argon_hide_footer_author":"true"}
Argon 主题设置 (2023-02-28)
{"argon_theme_color":"#3f51b5","argon_theme_color_hex_preview":"#3f51b5","argon_show_customize_theme_color_picker":false,"argon_enable_immersion_color":"true","argon_darkmode_autoswitch":"false","argon_enable_amoled_dark":"false","argon_card_radius":"15","argon_card_shadow":"default","argon_page_layout":"double-reverse","argon_article_list_waterflow":"1","argon_article_list_layout":"3","argon_font":"sans-serif","argon_assets_path":"sourcegcdn","argon_custom_assets_path":"","argon_wp_path":"/","argon_dateformat":"YMD","argon_enable_headroom":"false","argon_toolbar_title":"--hidden--","argon_toolbar_icon":"","argon_toolbar_icon_link":"","argon_toolbar_blur":"false","argon_banner_title":"E 家 分 享","argon_banner_subtitle":"分享实用网站及软件技巧","argon_banner_size":"fullscreen","argon_page_background_banner_style":"transparent","argon_show_toolbar_mask":false,"argon_banner_background_url":"--bing--","argon_banner_background_color_type":"shape-default","argon_banner_background_hide_shapes":true,"argon_enable_banner_title_typing_effect":"false","argon_banner_typing_effect_interval":"100","argon_page_background_url":"https://alpha-q3.sourcegcdn.com/2022/12/11/MdOmjFSH.webp","argon_page_background_dark_url":"","argon_page_background_opacity":"1","argon_sidebar_banner_title":"","argon_sidebar_banner_subtitle":"最实用的经验,分享最需要的你","argon_sidebar_auther_name":"E家之长","argon_sidebar_auther_image":"https://www.5iehome.cc/wp-content/uploads/5iehome_cc_logo.webp","argon_sidebar_author_description":"","argon_sidebar_announcement":"","argon_fab_show_settings_button":"true","argon_fab_show_darkmode_button":"false","argon_fab_show_gotocomment_button":"true","argon_seo_description":"E 家 分 享 - 分享生活,分享快乐!","argon_seo_keywords":"E家分享,5iehome.cc,我爱E家,E家论坛,LSSTUDIO","argon_article_meta":"author|time|views|categories","argon_show_readingtime":"false","argon_reading_speed":"300","argon_reading_speed_en":"160","argon_reading_speed_code":"20","argon_show_thumbnail_in_banner_in_content_page":"true","argon_first_image_as_thumbnail_by_default":"true","argon_reference_list_title":"参考","argon_show_sharebtn":"true","argon_show_headindex_number":"true","argon_donate_qrcode_url":"","argon_additional_content_after_post":"<i class=\"fa fa-user\"></i> 版权归属: %author%\n<i class=\"fa fa-link\"></i> 本文链接: %link%\n<i class=\"fa fa-share-alt\"></i> 许可协议: 本文使用《署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)》协议授权","argon_related_post":"category,tag","argon_related_post_sort_orderby":"date","argon_related_post_sort_order":"DESC","argon_related_post_limit":"10","argon_article_header_style":"article-header-style-2","argon_outdated_info_time_type":"modifiedtime","argon_outdated_info_days":"1","argon_outdated_info_tip_type":"inpost","argon_outdated_info_tip_content":"本文最后更新于 %date_delta% 天前,若内容或图片失效,请留言反馈。部分素材来自网络,若不小心影响到您的利益,请联系我们删除。","argon_archives_timeline_show_month":"true","argon_archives_timeline_url":"https://www.5iehome.cc/archive","argon_footer_html":"Copyright ©2022 版权所有 E家分享\n\n<span id=\"momk\"></span><span id=\"momk\" style=\"color: #ff0000;\"></span>\n<script type=\"text/javascript\">\nfunction NewDate(str) {\nstr = str.split('-');\nvar date = new Date();\ndate.setUTCFullYear(str[0], str[1] - 1, str[2]);\ndate.setUTCHours(0, 0, 0, 0);\nreturn date;\n}\nfunction momxc() {\nvar birthDay =NewDate(\"2020-3-12\");\nvar today=new Date();\nvar timeold=today.getTime()-birthDay.getTime();\nvar sectimeold=timeold/1000\nvar secondsold=Math.floor(sectimeold);\nvar msPerDay=24*60*60*1000; var e_daysold=timeold/msPerDay;\nvar daysold=Math.floor(e_daysold);\nvar e_hrsold=(daysold-e_daysold)*-24;\nvar hrsold=Math.floor(e_hrsold);\nvar e_minsold=(hrsold-e_hrsold)*-60;\nvar minsold=Math.floor((hrsold-e_hrsold)*-60); var seconds=Math.floor((minsold-e_minsold)*-60).toString();\ndocument.getElementById(\"momk\").innerHTML = \"本站已运行 \"+daysold+\" 天 \"+hrsold+\" 小时 \"+minsold+\" 分 \"+seconds+\" 秒\";\nsetTimeout(momxc, 1000);\n}momxc();\n</script>","argon_enable_code_highlight":"true","argon_code_theme":"tomorrow-night-blue","argon_code_highlight_hide_linenumber":"false","argon_code_highlight_break_line":"true","argon_code_highlight_transparent_linenumber":"false","argon_math_render":"none","argon_mathjax_cdn_url":"//cdn.jsdelivr.net/npm/[email protected]/es5/tex-chtml-full.js","argon_mathjax_v2_cdn_url":"//cdn.jsdelivr.net/npm/[email protected]/MathJax.js?config=TeX-AMS_HTML","argon_katex_cdn_url":"//cdn.jsdelivr.net/npm/[email protected]/dist/","argon_enable_lazyload":"true","argon_lazyload_threshold":"800","argon_lazyload_effect":"fadeIn","argon_lazyload_loading_style":"6","argon_enable_fancybox":"true","argon_enable_zoomify":"false","argon_zoomify_duration":"200","argon_zoomify_easing":"cubic-bezier(0.4,0,0,1)","argon_zoomify_scale":"0.9","argon_enable_pangu":"false","argon_custom_html_head":"","argon_custom_html_foot":"","argon_enable_smoothscroll_type":"disabled","argon_enable_into_article_animation":"false","argon_disable_pjax_animation":"true","argon_comment_pagination_type":"feed","argon_comment_emotion_keyboard":"false","argon_hide_name_email_site_input":"false","argon_comment_need_captcha":"false","argon_get_captcha_by_ajax":"false","argon_comment_allow_markdown":"true","argon_comment_allow_editing":"true","argon_comment_allow_privatemode":"false","argon_comment_allow_mailnotice":"false","argon_comment_mailnotice_checkbox_checked":false,"argon_comment_enable_qq_avatar":"false","argon_comment_avatar_vcenter":"false","argon_who_can_visit_comment_edit_history":"admin","argon_enable_comment_pinning":"true","argon_enable_comment_upvote":"true","argon_comment_ua":"platform,browser,version","argon_show_comment_parent_info":"true","argon_fold_long_comments":"true","argon_gravatar_cdn":"gravatar.pho.ink/avatar/","argon_text_gravatar":"false","argon_enable_search_filters":"true","argon_search_filters_type":"*post,*page","argon_pjax_disabled":"false","argon_hide_categories":"","argon_enable_login_css":"true","argon_home_show_shuoshuo":"false","argon_fold_long_shuoshuo":"false","argon_enable_timezone_fix":"false","argon_hide_shortcode_in_preview":"true","argon_trim_words_count":"100","argon_enable_mobile_scale":"false","argon_disable_googlefont":"false","argon_disable_codeblock_style":"false","argon_update_source":"github","argon_hide_footer_author":"true"}
I have read your article carefully and I agree with you very much. This has provided a great help for my thesis writing, and I will seriously improve it. However, I don’t know much about a certain place. Can you help me?
very informative articles or reviews at this time.
This was beautiful Admin. Thank you for your reflections.
Pretty! This has been a really wonderful post. Many thanks for providing these details.
That’s good, but I still don’t understand the purpose of this page posting, no or what and where do they get material like this.
I do not even understand how I ended up here, but I assumed this publish used to be great
This is really interesting, You’re a very skilled blogger. I’ve joined your feed and look forward to seeking more of your magnificent post. Also, I’ve shared your site in my social networks!
Nice post. I learn something totally new and challenging on websites
There is definately a lot to find out about this subject. I like all the points you made
Cool that really helps, thank you.
Very well presented. Every quote was awesome and thanks for sharing the content. Keep sharing and keep motivating others.
I really like reading through a post that can make men and women think. Also, thank you for allowing me to comment!
I truly appreciate your technique of writing a blog. I added it to my bookmark site list and will
This is really interesting, You’re a very skilled blogger. I’ve joined your feed and look forward to seeking more of your magnificent post. Also, I’ve shared your site in my social networks!
I really like reading through a post that can make men and women think. Also, thank you for allowing me to comment!
For the reason that the admin of this site is working, no uncertainty very quickly it will be renowned, due to its quality contents.
Good post! We will be linking to this particularly great post on our site. Keep up the great writing
I do not even understand how I ended up here, but I assumed this publish used to be great
naturally like your web site however you need to take a look at the spelling on several of your posts. A number of them are rife with spelling problems and I find it very bothersome to tell the truth on the other hand I will surely come again again.
I really like reading through a post that can make men and women think. Also, thank you for allowing me to comment!
Hi there to all, for the reason that I am genuinely keen of reading this website’s post to be updated on a regular basis. It carries pleasant stuff.
I’m often to blogging and i really appreciate your content. The article has actually peaks my interest. I’m going to bookmark your web site and maintain checking for brand spanking new information.
For the reason that the admin of this site is working, no uncertainty very quickly it will be renowned, due to its quality contents.
naturally like your web site however you need to take a look at the spelling on several of your posts. A number of them are rife with spelling problems and I find it very bothersome to tell the truth on the other hand I will surely come again again.
Your article was an interesting read. I never thought of the topic in that way before.
Your article is a valuable resource for anyone interested in this topic. I’ve already shared it with several friends and colleagues.
This is a well-researched article with valuable insights and practical advice. Thank you for sharing your knowledge with your readers.
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.
Cool that really helps, thank you.
For the reason that the admin of this site is working, no uncertainty very quickly it will be renowned, due to its quality contents.
Your writing is so engaging and relatable. I feel like I can connect with the experiences and emotions you describe.
I may need your help. I tried many ways but couldn’t solve it, but after reading your article, I think you have a way to help me. I’m looking forward for your reply. Thanks.
I agree with your views and appreciate your consideration of different perspectives.