{"id":54,"date":"2024-09-20T12:26:13","date_gmt":"2024-09-20T04:26:13","guid":{"rendered":"https:\/\/blog.easitch.com\/?p=54"},"modified":"2026-04-28T17:05:57","modified_gmt":"2026-04-28T09:05:57","slug":"wordpress-%e9%85%8d%e7%bd%ae","status":"publish","type":"post","link":"https:\/\/blog.eastfond.com\/?p=54","title":{"rendered":"WordPress \u914d\u7f6e"},"content":{"rendered":"<h1>\u4e3b\u9898\u3001\u63d2\u4ef6<\/h1>\n<p>\u6211\u4f7f\u7528\u7684\u662f<a href=\"https:\/\/github.com\/solstice23\/argon-theme\">Argon Theme<\/a>\uff0c\u5230\u5b98\u7f51\u4e0b\u8f7d\u540e\u5230wordpress\u4e3b\u9898\u4e2d\u5bfc\u5165\u3002<\/p>\n<p>\u8fd9\u91cc\u662f\u5b98\u65b9\u6587\u6863\uff1a<a href=\"https:\/\/argon-docs.solstice23.top\">https:\/\/argon-docs.solstice23.top<\/a><\/p>\n<h1>\u4e3b\u9898\u914d\u7f6e<\/h1>\n<p>\u5b89\u88c5\u540e\u5230\u4e3b\u9898\u8bbe\u7f6e\u4e2d\u5bfc\u5165\u4e0b\u9762\u7684\u914d\u7f6e\u3002<\/p>\n<pre><code class=\"language-json\">{&quot;argon_theme_color&quot;:&quot;#6d626d&quot;,&quot;argon_theme_color_hex_preview&quot;:&quot;#6d626d&quot;,&quot;argon_show_customize_theme_color_picker&quot;:true,&quot;argon_enable_immersion_color&quot;:&quot;true&quot;,&quot;argon_darkmode_autoswitch&quot;:&quot;time&quot;,&quot;argon_enable_amoled_dark&quot;:&quot;false&quot;,&quot;argon_card_radius&quot;:&quot;15&quot;,&quot;argon_card_shadow&quot;:&quot;default&quot;,&quot;argon_page_layout&quot;:&quot;double&quot;,&quot;argon_article_list_waterflow&quot;:&quot;1&quot;,&quot;argon_article_list_layout&quot;:&quot;1&quot;,&quot;argon_font&quot;:&quot;serif&quot;,&quot;argon_assets_path&quot;:&quot;jsdelivr_fastly&quot;,&quot;argon_custom_assets_path&quot;:&quot;&quot;,&quot;argon_wp_path&quot;:&quot;\/&quot;,&quot;argon_dateformat&quot;:&quot;YMD&quot;,&quot;argon_enable_headroom&quot;:&quot;true&quot;,&quot;argon_toolbar_title&quot;:&quot;--hidden--&quot;,&quot;argon_toolbar_icon&quot;:&quot;&quot;,&quot;argon_toolbar_icon_link&quot;:&quot; &quot;,&quot;argon_toolbar_blur&quot;:&quot;true&quot;,&quot;argon_banner_title&quot;:&quot;EasT\u2018s blog&quot;,&quot;argon_banner_subtitle&quot;:&quot;\u5fae\u5c18\u79ef\u5904\u6210\u5c71\u5cb3\uff0c\u7ec6\u6c34\u957f\u6d41\u6c47\u6d77\u6d9b\u3002&quot;,&quot;argon_banner_size&quot;:&quot;fullscreen&quot;,&quot;argon_page_background_banner_style&quot;:&quot;transparent&quot;,&quot;argon_show_toolbar_mask&quot;:true,&quot;argon_banner_background_url&quot;:&quot;--bing--&quot;,&quot;argon_banner_background_color_type&quot;:&quot;shape-primary&quot;,&quot;argon_banner_background_hide_shapes&quot;:true,&quot;argon_enable_banner_title_typing_effect&quot;:&quot;true&quot;,&quot;argon_banner_typing_effect_interval&quot;:&quot;100&quot;,&quot;argon_page_background_url&quot;:&quot;https:\/\/blog.easitch.com\/wp-content\/uploads\/2024\/09\/day_waifu2x_2x_2n_jpg.png&quot;,&quot;argon_page_background_dark_url&quot;:&quot;https:\/\/blog.easitch.com\/wp-content\/uploads\/2024\/09\/night_waifu2x_2x_2n_png.png&quot;,&quot;argon_page_background_opacity&quot;:&quot;1&quot;,&quot;argon_sidebar_banner_title&quot;:&quot;EasT\u2018s blog&quot;,&quot;argon_sidebar_banner_subtitle&quot;:&quot;--hitokoto--&quot;,&quot;argon_sidebar_auther_name&quot;:&quot;EasT&quot;,&quot;argon_sidebar_auther_image&quot;:&quot;https:\/\/blog.easitch.com\/wp-content\/uploads\/2024\/09\/my.jpg&quot;,&quot;argon_sidebar_author_description&quot;:&quot;&quot;,&quot;argon_sidebar_announcement&quot;:&quot;\u6b22\u8fce\u6765\u5230\u6211\u7684 &lt;a href=\\&quot;https:\/\/openai.easitch.com\\&quot; target=\\&quot;_blank\\&quot; &gt;ChatGPT \u4e2d\u8f6c\u7ad9&lt;\/a&gt;\uff0c\u6781\u5177\u6027\u4ef7\u6bd4\uff0c\u4e3a\u4ed8\u8d39\u4e0d\u65b9\u4fbf\u7684\u670b\u53cb\u63d0\u4f9b\u4fbf\u5229\uff0c\u6709\u9700\u6c42\u7684\u53ef\u4ee5\u6dfb\u52a0\u4e0b\u65b9 QQ \u4e8c\u7ef4\u7801\uff0c\u53e6\u5916\uff0c\u9080\u8bf7\u65b0\u7528\u6237\u80fd\u83b7\u53d6\u4f59\u989d\u54e6\uff01\u6700\u540e\u8bf4\u4e00\u53e5\uff0c\u90a3\u5565\uff1a\u8bf7\u81ea\u89c9\u9075\u5b88\u300a\u751f\u6210\u5f0f\u4eba\u5de5\u667a\u80fd\u670d\u52a1\u7ba1\u7406\u6682\u884c\u529e\u6cd5\u300b\u3002\\n&lt;img src=\\&quot;https:\/\/east-pic-go.oss-cn-hangzhou.aliyuncs.com\/notebook\/202405291930059.webp\\&quot; style=\\&quot;width:100%;\\&quot;&gt;&quot;,&quot;argon_fab_show_settings_button&quot;:&quot;false&quot;,&quot;argon_fab_show_darkmode_button&quot;:&quot;true&quot;,&quot;argon_fab_show_gotocomment_button&quot;:&quot;false&quot;,&quot;argon_seo_description&quot;:&quot;\u7f51\u7ad9\u63cf\u8ff0 (Description Meta \u6807\u7b7e)&quot;,&quot;argon_seo_keywords&quot;:&quot;\u641c\u7d22\u5f15\u64ce\u5173\u952e\u8bcd\uff08Keywords Meta \u6807\u7b7e\uff09&quot;,&quot;argon_article_meta&quot;:&quot;time|categories|views&quot;,&quot;argon_show_readingtime&quot;:&quot;true&quot;,&quot;argon_reading_speed&quot;:&quot;580&quot;,&quot;argon_reading_speed_en&quot;:&quot;80&quot;,&quot;argon_reading_speed_code&quot;:&quot;10&quot;,&quot;argon_show_thumbnail_in_banner_in_content_page&quot;:&quot;false&quot;,&quot;argon_first_image_as_thumbnail_by_default&quot;:&quot;true&quot;,&quot;argon_reference_list_title&quot;:&quot;\u53c2\u8003&quot;,&quot;argon_show_sharebtn&quot;:&quot;true&quot;,&quot;argon_show_headindex_number&quot;:&quot;false&quot;,&quot;argon_donate_qrcode_url&quot;:&quot;&quot;,&quot;argon_additional_content_after_post&quot;:&quot;\u6b22\u8fce\u6765\u5230\u6211\u7684 &lt;a href=\\&quot;https:\/\/openai.easitch.com  target=\\&quot;_blank\\&quot; &gt;ChatGPT \u4e2d\u8f6c\u7ad9&lt;\/a&gt;\uff0c\u6781\u5177\u6027\u4ef7\u6bd4\uff0c\u4e3a\u4ed8\u8d39\u4e0d\u65b9\u4fbf\u7684\u670b\u53cb\u63d0\u4f9b\u4fbf\u5229\uff0c\u6709\u9700\u6c42\u7684\u53ef\u4ee5\u6dfb\u52a0\u5de6\u4fa7 QQ \u4e8c\u7ef4\u7801\uff0c\u53e6\u5916\uff0c\u9080\u8bf7\u65b0\u7528\u6237\u80fd\u83b7\u53d6\u4f59\u989d\u54e6\uff01\u6700\u540e\u8bf4\u4e00\u53e5\uff0c\u90a3\u5565\uff1a\u8bf7\u81ea\u89c9\u9075\u5b88\u300a\u751f\u6210\u5f0f\u4eba\u5de5\u667a\u80fd\u670d\u52a1\u7ba1\u7406\u6682\u884c\u529e\u6cd5\u300b\u3002&quot;,&quot;argon_related_post&quot;:&quot;category,tag&quot;,&quot;argon_related_post_sort_orderby&quot;:&quot;meta_value_num&quot;,&quot;argon_related_post_sort_order&quot;:&quot;DESC&quot;,&quot;argon_related_post_limit&quot;:&quot;10&quot;,&quot;argon_article_header_style&quot;:&quot;article-header-style-2&quot;,&quot;argon_outdated_info_time_type&quot;:&quot;createdtime&quot;,&quot;argon_outdated_info_days&quot;:&quot;1&quot;,&quot;argon_outdated_info_tip_type&quot;:&quot;inpost&quot;,&quot;argon_outdated_info_tip_content&quot;:&quot;\u672c\u6587\u6700\u540e\u66f4\u65b0\u4e8e%modify_date_delta% \u5929\u524d\uff0c\u5176\u4e2d\u7684\u4fe1\u606f\u53ef\u80fd\u5df2\u7ecf\u8fc7\u65f6\uff0c\u5982\u6709\u9519\u8bef\u8bf7\u53d1\u9001\u90ae\u4ef6\u52301042855203@qq.com&quot;,&quot;argon_archives_timeline_show_month&quot;:&quot;true&quot;,&quot;argon_archives_timeline_url&quot;:&quot;&quot;,&quot;argon_footer_html&quot;:&quot;&lt;div class=\\&quot;\\&quot;&gt;&lt;span class=\\&quot;my-face\\&quot;&gt;Copyright \u00a92024 \u7248\u6743\u6240\u6709 EasT \u0b67(\u0e51\u2022\u0300\u2304\u2022\u0301\u0e51)\u0aed&lt;\/span&gt;&lt;\/div&gt;&quot;,&quot;argon_enable_code_highlight&quot;:&quot;true&quot;,&quot;argon_code_theme&quot;:&quot;vs2015&quot;,&quot;argon_code_highlight_hide_linenumber&quot;:&quot;true&quot;,&quot;argon_code_highlight_break_line&quot;:&quot;false&quot;,&quot;argon_code_highlight_transparent_linenumber&quot;:&quot;false&quot;,&quot;argon_math_render&quot;:&quot;katex&quot;,&quot;argon_mathjax_cdn_url&quot;:&quot;\/\/cdn.jsdelivr.net\/npm\/mathjax@3\/es5\/tex-chtml-full.js&quot;,&quot;argon_mathjax_v2_cdn_url&quot;:&quot;\/\/cdn.jsdelivr.net\/npm\/mathjax@2.7.5\/MathJax.js?config=TeX-AMS_HTML&quot;,&quot;argon_katex_cdn_url&quot;:&quot;\/\/cdn.jsdelivr.net\/npm\/katex@0.11.1\/dist\/&quot;,&quot;argon_enable_lazyload&quot;:&quot;true&quot;,&quot;argon_lazyload_threshold&quot;:&quot;800&quot;,&quot;argon_lazyload_effect&quot;:&quot;fadeIn&quot;,&quot;argon_lazyload_loading_style&quot;:&quot;1&quot;,&quot;argon_enable_fancybox&quot;:&quot;true&quot;,&quot;argon_enable_zoomify&quot;:&quot;false&quot;,&quot;argon_zoomify_duration&quot;:&quot;200&quot;,&quot;argon_zoomify_easing&quot;:&quot;cubic-bezier(0.4,0,0,1)&quot;,&quot;argon_zoomify_scale&quot;:&quot;0.9&quot;,&quot;argon_enable_pangu&quot;:&quot;article&quot;,&quot;argon_custom_html_head&quot;:&quot;&quot;,&quot;argon_custom_html_foot&quot;:&quot;&lt;link rel=\\&quot;stylesheet\\&quot; href=\\&quot;https:\/\/cdn.jsdelivr.net\/npm\/aplayer\/dist\/APlayer.min.css\\&quot;&gt;\\n&lt;script src=\\&quot;https:\/\/cdn.jsdelivr.net\/npm\/aplayer\/dist\/APlayer.min.js\\&quot;&gt;&lt;\/script&gt;\\n&lt;script src=\\&quot;https:\/\/cdn.jsdelivr.net\/npm\/meting@2.0.1\/dist\/Meting.min.js\\&quot;&gt;&lt;\/script&gt;\\n \\n&lt;meting-js \\n    server=\\&quot;netease\\&quot; \\n    type=\\&quot;playlist\\&quot; \\n    id=\\&quot;7373135320\\&quot;\\n    fixed=\\&quot;true\\&quot; \\n    mini=\\&quot;true\\&quot;\\n    order=\\&quot;list\\&quot;\\n    loop=\\&quot;all\\&quot;\\n    preload=\\&quot;auto\\&quot;\\n    list-folded=\\&quot;true\\&quot;\\n    lrc-type=\\&quot;0\\&quot;\\n&gt;\\n&lt;\/meting-js&gt;\\n&quot;,&quot;argon_enable_smoothscroll_type&quot;:&quot;1_pulse&quot;,&quot;argon_enable_into_article_animation&quot;:&quot;false&quot;,&quot;argon_disable_pjax_animation&quot;:&quot;false&quot;,&quot;argon_comment_pagination_type&quot;:&quot;page&quot;,&quot;argon_comment_emotion_keyboard&quot;:&quot;true&quot;,&quot;argon_hide_name_email_site_input&quot;:&quot;false&quot;,&quot;argon_comment_need_captcha&quot;:&quot;false&quot;,&quot;argon_get_captcha_by_ajax&quot;:&quot;false&quot;,&quot;argon_comment_allow_markdown&quot;:&quot;true&quot;,&quot;argon_comment_allow_editing&quot;:&quot;true&quot;,&quot;argon_comment_allow_privatemode&quot;:&quot;true&quot;,&quot;argon_comment_allow_mailnotice&quot;:&quot;true&quot;,&quot;argon_comment_mailnotice_checkbox_checked&quot;:true,&quot;argon_comment_enable_qq_avatar&quot;:&quot;true&quot;,&quot;argon_comment_avatar_vcenter&quot;:&quot;false&quot;,&quot;argon_who_can_visit_comment_edit_history&quot;:&quot;commentsender&quot;,&quot;argon_enable_comment_pinning&quot;:&quot;true&quot;,&quot;argon_enable_comment_upvote&quot;:&quot;true&quot;,&quot;argon_comment_ua&quot;:&quot;platform,browser&quot;,&quot;argon_show_comment_parent_info&quot;:&quot;true&quot;,&quot;argon_fold_long_comments&quot;:&quot;true&quot;,&quot;argon_gravatar_cdn&quot;:&quot;dn-qiniu-avatar.qbox.me\/avatar\/&quot;,&quot;argon_text_gravatar&quot;:&quot;true&quot;,&quot;argon_enable_search_filters&quot;:&quot;true&quot;,&quot;argon_search_filters_type&quot;:&quot;*post,*page,shuoshuo&quot;,&quot;argon_pjax_disabled&quot;:&quot;false&quot;,&quot;argon_hide_categories&quot;:&quot;&quot;,&quot;argon_enable_login_css&quot;:&quot;true&quot;,&quot;argon_home_show_shuoshuo&quot;:&quot;false&quot;,&quot;argon_fold_long_shuoshuo&quot;:&quot;true&quot;,&quot;argon_enable_timezone_fix&quot;:&quot;false&quot;,&quot;argon_hide_shortcode_in_preview&quot;:&quot;true&quot;,&quot;argon_trim_words_count&quot;:&quot;0&quot;,&quot;argon_enable_mobile_scale&quot;:&quot;false&quot;,&quot;argon_disable_googlefont&quot;:&quot;false&quot;,&quot;argon_disable_codeblock_style&quot;:&quot;false&quot;,&quot;argon_update_source&quot;:&quot;github&quot;,&quot;argon_hide_footer_author&quot;:&quot;true&quot;}<\/code><\/pre>\n<h1>\u7cfb\u7edf\u914d\u7f6e<\/h1>\n<blockquote>\n<p>\u8fd9\u91cc\u7684\u5c31\u6bd4\u8f83\u590d\u6742\u4e86\uff0c\u5982\u679c\u53ea\u9700\u8981\u8fdb\u884c\u8bb0\u5f55\u535a\u5ba2\uff0c\u5c31\u5230\u6b64\u4e3a\u6b62\u4e86<\/p>\n<\/blockquote>\n<p>\u627e\u5230footer.php\u6587\u4ef6\uff0c\u4e00\u5b9a\u5f97\u662fargon\u4e3b\u9898\u4e0b\u7684\u54e6\uff0c\u7136\u540e\u5f00\u59cb\u7f16\u8f91\u3002<\/p>\n<h2>\u8fd0\u884c\u65f6\u95f4\u3001\u8017\u65f6\u53ca\u5360\u7528\u5185\u5b58<\/h2>\n<p>\u5728<code>&lt;\/footer&gt;<\/code>\u4e4b\u524d\u63d2\u5165\u4ee5\u4e0b\u4ee3\u7801<\/p>\n<pre><code>&lt;!--\u8017\u65f6\u53ca\u5360\u7528\u5185\u5b58\u5f00\u59cb--&gt;\n&lt;span id=&quot;momk&quot;&gt;&lt;\/span&gt;&lt;span id=&quot;momk&quot; style=&quot;color: #ff0000;&quot;&gt;&lt;\/span&gt;\n&lt;script type=&quot;text\/javascript&quot;&gt;\nfunction NewDate(str) {\nstr = str.split(&#039;-&#039;);\nvar date = new Date();\ndate.setUTCFullYear(str[0], str[1] - 1, str[2]);\ndate.setUTCHours(0, 0, 0, 0);\nreturn date;\n}\nfunction momxc() {\n&lt;!--\u8fd9\u91cc\u8981\u6539\u6210\u81ea\u5df1\u535a\u5ba2\u7684\u8bde\u751f\u65f6\u95f4--&gt;\nvar birthDay =NewDate(&quot;2018-10-28&quot;);\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(&quot;momk&quot;).innerHTML = &quot;\u672c\u7ad9\u5df2\u5b89\u5168\u8fd0\u884c\uff1a&quot;+daysold+&quot;\u5929&quot;+hrsold+&quot;\u5c0f\u65f6&quot;+minsold+&quot;\u5206&quot;+seconds+&quot;\u79d2&lt;br&gt;&quot;;\nsetTimeout(momxc, 1000);\n}momxc();\n&lt;\/script&gt;\n&lt;style&gt;\n#momk{animation:change 10s infinite;font-weight:800; }\n@keyframes change{0%{color:#5cb85c;}25%{color:#556bd8;}50%{color:#e40707;}75%{color:#66e616;}100% {color:#67bd31;}}\n&lt;\/style&gt;\n&lt;?php printf(&#039; | \u8017\u65f6 %.3f \u79d2 | \u67e5\u8be2 %d \u6b21 | \u5185\u5b58 %.2f MB |&#039;,timer_stop( 0, 3 ),get_num_queries(),memory_get_peak_usage() \/ 1024 \/ 1024);?&gt;&lt;br&gt;\n&lt;!--\u8017\u65f6\u53ca\u5360\u7528\u5185\u5b58\u7ed3\u675f--&gt;<\/code><\/pre>\n<h2>\u6587\u5b57\u98a4\u6296<\/h2>\n<p>\u6548\u679c\u5927\u81f4\u5982\u4e0b\uff1a<\/p>\n<p><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/image.eastfond.com\/file\/1737987331372_202501272215101.webp'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"https:\/\/image.eastfond.com\/file\/1737987331372_202501272215101.webp\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\" \/><\/div><\/p>\n<p>\u6e90\u4ee3\u7801\u6765\u81ea<a href=\"https:\/\/hikami.moe\/\">\u5e0c\u5361\u7c73 | HiKami<\/a>\uff0c\u6211\u53ea\u662f\u5927\u4f6c\u4ee3\u7801\u7684\u642c\u8fd0\u5de5\u3002\u5927\u81f4\u7684\u539f\u7406\u662f\u5b9a\u4e49\u4e00\u4e2a<code>.my-face<\/code> class\uff0c\u7136\u540e\u76f4\u63a5\u5728html\u4e2d\u8c03\u7528\u7c7b\u7684\u51fd\u6570\u3002\u9996\u5148\uff0c\u6211\u4eec\u5728footer.php\u4e2d\u6dfb\u52a0css\u811a\u672c\uff1a<\/p>\n<pre><code class=\"language-html\">&lt;!--\u6587\u5b57\u6296\u52a8\u7279\u6548--&gt;\n&lt;link href=&quot;https:\/\/cdn.jsdelivr.net\/gh\/huangwb8\/bloghelper@latest\/css\/myface.css&quot; rel=&quot;stylesheet&quot;&gt;<\/code><\/pre>\n<p>\u7136\u540e\uff0c\u5728\u9875\u811a\u5185\u5bb9\u4e2d\u6dfb\u52a0\u7c7b\u4f3c\u547d\u4ee4\uff1a<\/p>\n<pre><code class=\"language-php+HTML\">&lt;div class=&quot;&quot;&gt;&lt;span class=&quot;my-face&quot;&gt;Copyright \u00a92024 \u7248\u6743\u6240\u6709 EasT \u0b67(\u0e51\u2022\u0300\u2304\u2022\u0301\u0e51)\u0aed&lt;\/span&gt;&lt;\/div&gt;<\/code><\/pre>\n<p><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/image.eastfond.com\/file\/1737987326761_202501272215102.webp'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"https:\/\/image.eastfond.com\/file\/1737987326761_202501272215102.webp\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\" \/><\/div><\/p>\n<h2>\u96ea\u82b1\/\u6a31\u82b1\/\u70df\u82b1\u7279\u6548<\/h2>\n<p>\u6211\u8fd9\u91cc\u63d0\u4f9b\u7684\u7279\u6548\uff0c\u5728\u624b\u673a\u7b49\u8bbe\u5907\u662f\u4e0d\u751f\u6548\u7684\u3002\u56e0\u4e3a\u624b\u673a\u7684\u754c\u9762\u592a\u5c0f\uff0c\u7279\u6548\u4f1a\u5bfc\u81f4\u89c2\u770b\u6548\u679c\u5f88\u5dee\u3002\u8bbe\u5907\u5224\u65ad\u4e3b\u8981\u5229\u7528<a href=\"https:\/\/github.com\/hgoebl\/mobile-detect.js#readme\">mobile-detect<\/a>\u9879\u76ee\u63d0\u4f9b\u7684JS\u811a\u672c\uff08\u968f\u673a\u56feAPI\u7684php\u811a\u672c\u4e5f\u662f\u7c7b\u4f3c\u7684\uff09\u3002<\/p>\n<p>\u7528\u6cd5\u4e5f\u662f\u7f16\u8f91<code>footer.php<\/code>\u6587\u4ef6\u3002\u8fd8\u662f\u521a\u521a\u90a3\u4e2a\u754c\u9762\u3002\u5728\u672b\u5c3e<code>&lt;\/body&gt;<\/code>\u4e0a\u65b9\uff08\u8fd9\u6837\u53ef\u4ee5\u6700\u540e\u52a0\u8f7d\u7279\u6548\uff0c\u4ee5\u514d\u5f71\u54cd\u5176\u4ed6\u5185\u5bb9\u7684\u8bbf\u95ee\u901f\u5ea6\uff09\uff0c\u6dfb\u52a0\u4ee5\u4e0b\u4ee3\u7801\uff08\u8981\u7528\u67d0\u4e2a\u7279\u6548\uff0c\u8bb0\u5f97\u5c06\u4ee3\u7801\u524d\u9762\u7684\u6ce8\u91ca\u7b26<code>\/\/<\/code>\u53bb\u9664\uff09\uff1a<\/p>\n<pre><code class=\"language-php+HTML\">&lt;!--\u5168\u9875\u7279\u6548\u5f00\u59cb--&gt;\n&lt;script src=&quot;https:\/\/cdn.jsdelivr.net\/gh\/huangwb8\/bloghelper@latest\/js\/mobile-detect.js&quot;&gt;&lt;\/script&gt;\n&lt;script type=&quot;text\/javascript&quot;&gt;\n    \/\/ \u8bbe\u5907\u68c0\u6d4b\n    var md = new MobileDetect(window.navigator.userAgent);\n\n    \/\/ PC\u751f\u6548\uff0c\u624b\u673a\/\u5e73\u677f\u4e0d\u751f\u6548\n    \/\/ md.mobile(); md.phone(); \n    if(!md.phone()){\n        if(!md.tablet()){\n            \/\/ \u96ea\u82b1\n            $.getScript(&quot;https:\/\/cdn.jsdelivr.net\/gh\/huangwb8\/bloghelper@latest\/js\/xiaxue.js&quot;);\n            \/\/ \u6a31\u82b1\n            \/\/ $.getScript(&quot;https:\/\/cdn.jsdelivr.net\/gh\/huangwb8\/bloghelper@latest\/js\/yinghua.js&quot;);\n\n            \/\/\n            \/\/ \u5c0f\u70df\u82b1\u7279\u6548\n            \/\/ $.getScript(&quot;https:\/\/cdn.jsdelivr.net\/gh\/huangwb8\/bloghelper@latest\/js\/mouse-click.js&quot;);\n\n            \/\/ \u5927\u70df\u82b1\u7279\u6548\n            $.getScript(&quot;https:\/\/cdn.jsdelivr.net\/gh\/huangwb8\/bloghelper@latest\/mouse\/mouse-click-02\/mouse-canvas.js&quot;);\n            document.write(&#039;&lt;style&gt;#mouse-canvas {z-index:217483647; pointer-events: none;  box-sizing: border-box !important; display: block !important; position: fixed !important; left: 0; right: 0; top: 0; bottom: 0; width: 100%; height: 100vh;}&lt;\/style&gt;&#039;)\n        }   \n    }\n&lt;\/script&gt;\n&lt;!--\u5168\u9875\u7279\u6548\u7ed3\u675f--&gt;<\/code><\/pre>\n<h2>\u5361\u72473D\u7279\u6548<\/h2>\n<blockquote>\n<p>\u6765\u81ea\u4e2d\u79cb\u660e\u6708\u7684<a href=\"https:\/\/iphoto.store\/\">\u4e2a\u4eba\u535a\u5ba2<\/a>\u3002\u6e90\u9879\u76ee\u5730\u5740\uff1a<a href=\"https:\/\/github.com\/micku7zu\/vanilla-tilt.js\">vanilla-tilt.js<\/a><\/p>\n<\/blockquote>\n<p>\u5361\u7247\u76843D\u7279\u6548\u5982\u4e0b\u56fe\uff1a<\/p>\n<p><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/image.eastfond.com\/file\/1737987340939_202501272215103.gif'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"https:\/\/image.eastfond.com\/file\/1737987340939_202501272215103.gif\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\" \/><\/div><\/p>\n<pre><code class=\"language-php+HTML\">&lt;!--\u9f20\u6807\u60ac\u505c3D\u6548\u679cstart--&gt;\n&lt;!--1.\u5b9a\u4e49\u5bf9\u8c61\u5c5e\u6027\uff08\u4f3c\u4e4e\u6ca1\u751f\u6548\uff09--&gt;\n&lt;div class=&quot;article.post:not(.post-full)&quot; data-tilt&gt;&lt;\/div&gt;\n&lt;div class=&quot;.shuoshuo-preview-container&quot; data-tilt&gt;&lt;\/div&gt;\n&lt;!--2.JS\u811a\u672c--&gt;\n&lt;!--script src=&quot;https:\/\/cdn.jsdelivr.net\/gh\/huangwb8\/bloghelper@latest\/js\/mobile-detect.js&quot;&gt;&lt;\/script--&gt; &lt;!--\u5982\u679c\u4f60\u6ca1\u6709\u5f15\u7528\u8fc7mobile-detect.js\uff0c\u8bf7\u53bb\u9664\u8fd9\u91cc\u7684\u6ce8\u91ca\u4ee5\u4f7f\u5176\u751f\u6548--&gt;\n&lt;script type=&quot;text\/javascript&quot; src=&quot;https:\/\/cdn.jsdelivr.net\/gh\/huangwb8\/bloghelper@latest\/vanilla3D\/vanilla-tilt.js&quot;&gt;&lt;\/script&gt;\n&lt;!--3.\u52a8\u4f5c--&gt;\n&lt;script type=&quot;text\/javascript&quot;&gt;\n    \/\/ \u8bbe\u5907\u68c0\u6d4b\u3002\u4f9d\u8d56\u524d\u8ff0mobile-detect\u9879\u76ee\u3002\n    var md = new MobileDetect(window.navigator.userAgent);\n\n    \/\/ PC\u751f\u6548\uff0c\u624b\u673a\/\u5e73\u677f\u4e0d\u751f\u6548\n    \/\/ md.mobile(); md.phone(); \n    if(!md.phone() &amp;&amp; !md.tablet()){\n        window.pjaxLoaded = function(){\n            \/\/ \u6b63\u6587\u5361\u7247\n            VanillaTilt.init(document.querySelectorAll(&quot;article.post:not(.post-full)&quot;),{\n                reverse:false,  \/\/ \u662f\u5426\u53cd\u8f6c\u503e\u659c\u65b9\u5411\n                max:2,     \/\/ \u6700\u5927\u7684\u503e\u659c\u89d2\u5ea6(\u5ea6)\n                startX:0,      \/\/ X\u8f74\u4e0a\u7684\u8d77\u59cb\u503e\u659c\uff0c\u5355\u4f4d\u4e3a\u5ea6\u3002\n                startY:0,      \/\/ Y\u8f74\u4e0a\u7684\u8d77\u59cb\u503e\u659c\uff0c\u5355\u4f4d\u4e3a\u5ea6\u3002\n                perspective:1000,   \/\/ \u8f6c\u6362\u89d2\u5ea6\uff0c\u8d8a\u4f4e\u503e\u659c\u8d8a\u6781\u7aef\n                scale:1.02,      \/\/ \u7f29\u653e\u6bd4\u4f8b,2 = 200%, 1.5 = 150%, \u7b49\u7b49..\n                speed:300,    \/\/ \u8fdb\u5165\/\u9000\u51fa \u8fc7\u6e21\u7684\u901f\u5ea6\n                transition:true,   \/\/ \u662f\u5426\u5728\u8fdb\u5165\/\u9000\u51fa\u7684\u65f6\u5019\u8bbe\u7f6e\u8fc7\u6e21\u6548\u679c\n                axis:&quot;y&quot;,   \/\/ \u8bbe\u7f6e\u7981\u7528\u54ea\u4e2a\u8f74\u7684\u53cd\u8f6c,\u503c\u4e3a&quot;x&quot;\u6216\u8005&quot;y&quot;\u6216\u8005null\n                reset:true,   \/\/ \u8bbe\u7f6e\u5728\u9000\u51fa\u65f6\u6e05\u9664\u503e\u659c\u6548\u679c\n                easing:&quot;cubic-bezier(.03,.98,.52,.99)&quot;,    \/\/ \u8bbe\u7f6e\u8fdb\u5165\u9000\u51fa\u65f6\u8fc7\u6e21\u7684\u8d1d\u585e\u5c14\u66f2\u7ebf\n                glare:true,\/\/ \u8bbe\u7f6e\u662f\u5426\u62e5\u6709\u70ab\u5149\u6548\u679c,\u5373\u900f\u660e\u5ea6\u6e10\u53d8\u6548\u679c\n                &quot;max-glare&quot;:0.7,      \/\/ \u8bbe\u7f6e\u6700\u5927\u7684\u900f\u660e\u6548\u679c,1=100%,0.5=50%\n                &quot;glare-prerender&quot;:false,  \/\/ false, VanillaTilt\u4e3a\u4f60\u521b\u5efa\u900f\u660e\u70ab\u5149\u5143\u7d20,\u5426\u5219\u4f60\u9700\u8981\u81ea\u5df1\u5728.jstilt-glare&gt;.js-tilt-glare-inner\u4e2d\u81ea\u5df1\u6dfb\u52a0render\u51fd\u6570\n                &quot;mouse-event-element&quot;:null,   \/\/ css\u9009\u62e9\u5668\u6216\u8005\u94fe\u63a5\u5230HTML\u7684\u5143\u7d20,\u4ed6\u5c06\u76d1\u542c\u8be5\u5143\u7d20\u4e0a\u7684\u9f20\u6807\u4e8b\u4ef6\n                &quot;full-page-listening&quot;:false,  \/\/ \u662f\u5426\u76d1\u542c\u6574\u4e2a\u9875\u9762\u7684\u9f20\u6807\u79fb\u52a8\u4e8b\u4ef6,\u82e5\u4e3atrue,\u4ed6\u5c06\u76d1\u542c\u8fd9\u4e2a\u9875\u9762,\u800c\u975e\u9009\u4e2d\u5143\u7d20\n                gyroscope:false,   \/\/ \u662f\u5426\u5f00\u542f\u9640\u87ba\u4eea\u7684\u65b9\u5411\u68c0\u6d4b\n                gyroscopeMinAngleX: 0,  \/\/\u9640\u87ba\u4eea\u6700\u5c0f\u89d2\u5ea6X\n                gyroscopeMaxAngleX: 0,  \/\/\u9640\u87ba\u4eea\u6700\u5927\u89d2\u5ea6X\n                gyroscopeMinAngleY: 0,  \/\/\u9640\u87ba\u4eea\u6700\u5c0f\u89d2\u5ea6\n                gyroscopeMaxAngleY: 0,  \/\/\u9640\u87ba\u4eea\u6700\u5927\u89d2\u5ea6\n                gyroscopeSamples: 10  \/\/\u9640\u87ba\u4eea\u6837\u54c1\n            })\n\n            \/\/ \u8bf4\u8bf4\u5361\u7247\n            VanillaTilt.init(document.querySelectorAll(&quot;.shuoshuo-preview-container&quot;),{\n                reverse:false,  \/\/ \u662f\u5426\u53cd\u8f6c\u503e\u659c\u65b9\u5411\n                max:2,     \/\/ \u6700\u5927\u7684\u503e\u659c\u89d2\u5ea6(\u5ea6)\n                startX:0,      \/\/ X\u8f74\u4e0a\u7684\u8d77\u59cb\u503e\u659c\uff0c\u5355\u4f4d\u4e3a\u5ea6\u3002\n                startY:0,      \/\/ Y\u8f74\u4e0a\u7684\u8d77\u59cb\u503e\u659c\uff0c\u5355\u4f4d\u4e3a\u5ea6\u3002\n                perspective:1000,   \/\/ \u8f6c\u6362\u89d2\u5ea6\uff0c\u8d8a\u4f4e\u503e\u659c\u8d8a\u6781\u7aef\n                scale:1.02,      \/\/ \u7f29\u653e\u6bd4\u4f8b,2 = 200%, 1.5 = 150%, \u7b49\u7b49..\n                speed:300,    \/\/ \u8fdb\u5165\/\u9000\u51fa \u8fc7\u6e21\u7684\u901f\u5ea6\n                transition:true,   \/\/ \u662f\u5426\u5728\u8fdb\u5165\/\u9000\u51fa\u7684\u65f6\u5019\u8bbe\u7f6e\u8fc7\u6e21\u6548\u679c\n                axis:&quot;y&quot;,   \/\/ \u8bbe\u7f6e\u7981\u7528\u54ea\u4e2a\u8f74\u7684\u53cd\u8f6c,\u503c\u4e3a&quot;x&quot;\u6216\u8005&quot;y&quot;\u6216\u8005null\n                reset:true,   \/\/ \u8bbe\u7f6e\u5728\u9000\u51fa\u65f6\u6e05\u9664\u503e\u659c\u6548\u679c\n                easing:&quot;cubic-bezier(.03,.98,.52,.99)&quot;,    \/\/ \u8bbe\u7f6e\u8fdb\u5165\u9000\u51fa\u65f6\u8fc7\u6e21\u7684\u8d1d\u585e\u5c14\u66f2\u7ebf\n                glare:true,\/\/ \u8bbe\u7f6e\u662f\u5426\u62e5\u6709\u70ab\u5149\u6548\u679c,\u5373\u900f\u660e\u5ea6\u6e10\u53d8\u6548\u679c\n                &quot;max-glare&quot;:0.7,      \/\/ \u8bbe\u7f6e\u6700\u5927\u7684\u900f\u660e\u6548\u679c,1=100%,0.5=50%\n                &quot;glare-prerender&quot;:false,  \/\/ false, VanillaTilt\u4e3a\u4f60\u521b\u5efa\u900f\u660e\u70ab\u5149\u5143\u7d20,\u5426\u5219\u4f60\u9700\u8981\u81ea\u5df1\u5728.jstilt-glare&gt;.js-tilt-glare-inner\u4e2d\u81ea\u5df1\u6dfb\u52a0render\u51fd\u6570\n                &quot;mouse-event-element&quot;:null,   \/\/ css\u9009\u62e9\u5668\u6216\u8005\u94fe\u63a5\u5230HTML\u7684\u5143\u7d20,\u4ed6\u5c06\u76d1\u542c\u8be5\u5143\u7d20\u4e0a\u7684\u9f20\u6807\u4e8b\u4ef6\n                &quot;full-page-listening&quot;:false,  \/\/ \u662f\u5426\u76d1\u542c\u6574\u4e2a\u9875\u9762\u7684\u9f20\u6807\u79fb\u52a8\u4e8b\u4ef6,\u82e5\u4e3atrue,\u4ed6\u5c06\u76d1\u542c\u8fd9\u4e2a\u9875\u9762,\u800c\u975e\u9009\u4e2d\u5143\u7d20\n                gyroscope:false,   \/\/ \u662f\u5426\u5f00\u542f\u9640\u87ba\u4eea\u7684\u65b9\u5411\u68c0\u6d4b\n                gyroscopeMinAngleX: 0,  \/\/\u9640\u87ba\u4eea\u6700\u5c0f\u89d2\u5ea6X\n                gyroscopeMaxAngleX: 0,  \/\/\u9640\u87ba\u4eea\u6700\u5927\u89d2\u5ea6X\n                gyroscopeMinAngleY: 0,  \/\/\u9640\u87ba\u4eea\u6700\u5c0f\u89d2\u5ea6\n                gyroscopeMaxAngleY: 0,  \/\/\u9640\u87ba\u4eea\u6700\u5927\u89d2\u5ea6\n                gyroscopeSamples: 10  \/\/\u9640\u87ba\u4eea\u6837\u54c1\n            })\n        }\n        $(window.pjaxLoaded);\n        $(document).on(&#039;pjax:end&#039;, window.pjaxLoaded); \n    }\n&lt;\/script&gt;\n&lt;!--\u9f20\u6807\u60ac\u505c3D\u6548\u679cend--&gt;<\/code><\/pre>\n<p>\u636e\u9e26\u9e26\u8bf4\uff0c\u5361\u72473D\u6548\u679c\u7684\u4e24\u4e2a\u9009\u62e9\u5668\u53ef\u4ee5\u5408\u5e76\u8d77\u6765\u5199\uff0c\u7528\u9017\u53f7\u5206\u9694\uff1a<code>document.querySelectorAll(&quot;article.post:not(.post-full), .shuoshuo-preview-container&quot;)<\/code>\u3002\u611f\u5174\u8da3\u7684\u5c0f\u4f19\u4f34\u81ea\u5df1\u8bd5\u8bd5\u770b\u55bd\uff01<\/p>\n<p>\u5bf9\u4e8eArgon\u4e3b\u9898\u7684\u4f7f\u7528\u8005\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u4e86\uff01\u5728Argon\u4e3b\u9898\u4e2d\uff0c<code>window.pjaxLoaded<\/code>\u51fd\u6570\u5185\u7684\u547d\u4ee4\u4f1a\u907f\u514d\u4f7f\u7528Pjax\u5e76\u5728\u5207\u6362\u9875\u9762\u65f6\u5f3a\u5236\u5237\u65b0\uff0c\u8fd9\u4e2a\u5fc5\u987b\u8981\u7528\u624d\u53ef\u4ee5\u4fdd\u8bc1\u7279\u6548\u7684\u5b8c\u7f8e\u8fd0\u884c\u3002\u5982\u679c\u662f\u5176\u5b83\u4e3b\u9898\u7684\u8bdd\uff0c\u4f60\u6539\u4e00\u4e0b\u63a7\u5236\u5bf9\u8c61\u7684\u540d\u5b57\u5373\u53ef\uff0c\u5177\u4f53\u60c5\u51b5\u5177\u4f53\u5206\u6790\u3002<strong>\u4f60\u4e5f\u53ef\u4ee5\u81ea\u5df1\u6539\u52a8\u4e00\u4e0b\u53c2\u6570\uff0c\u770b\u770b\u6548\u679c\u5982\u4f55<\/strong>\u3002\u86ee\u6709\u8da3\u7684\u4e00\u4e2a\u7279\u6548\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e3b\u9898\u3001\u63d2\u4ef6 \u6211\u4f7f\u7528\u7684\u662fArgon Theme\uff0c\u5230\u5b98\u7f51\u4e0b\u8f7d\u540e\u5230wordpress\u4e3b\u9898\u4e2d\u5bfc\u5165\u3002 \u8fd9\u91cc\u662f\u5b98\u65b9\u6587\u6863\uff1ah [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,33],"tags":[26],"class_list":["post-54","post","type-post","status-publish","format-standard","hentry","category-posts","category-other","tag-26"],"_links":{"self":[{"href":"https:\/\/blog.eastfond.com\/index.php?rest_route=\/wp\/v2\/posts\/54","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.eastfond.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.eastfond.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.eastfond.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.eastfond.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=54"}],"version-history":[{"count":4,"href":"https:\/\/blog.eastfond.com\/index.php?rest_route=\/wp\/v2\/posts\/54\/revisions"}],"predecessor-version":[{"id":464,"href":"https:\/\/blog.eastfond.com\/index.php?rest_route=\/wp\/v2\/posts\/54\/revisions\/464"}],"wp:attachment":[{"href":"https:\/\/blog.eastfond.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.eastfond.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.eastfond.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}