{"id":210453,"date":"2023-12-22T04:08:20","date_gmt":"2023-12-21T20:08:20","guid":{"rendered":"https:\/\/www.idc.net\/help\/210453\/"},"modified":"2023-12-22T04:08:20","modified_gmt":"2023-12-21T20:08:20","slug":"wordpress%e5%ae%89%e5%85%a8%e7%ad%96%e7%95%a5%ef%bc%9a%e5%9c%a8%e7%99%bb%e5%bd%95%e6%97%b6%e4%bd%bf%e7%94%a8%e9%aa%8c%e8%af%81%e7%a0%81%e3%80%82","status":"publish","type":"post","link":"https:\/\/idc.net\/help\/210453\/","title":{"rendered":"WordPress\u5b89\u5168\u7b56\u7565\uff1a\u5728\u767b\u5f55\u65f6\u4f7f\u7528\u9a8c\u8bc1\u7801\u3002"},"content":{"rendered":"<p><title id=\"wordpress%e5%ae%89%e5%85%a8%e7%ad%96%e7%95%a5%ef%bc%9a%e5%9c%a8%e7%99%bb%e5%bd%95%e6%97%b6%e4%bd%bf%e7%94%a8%e9%aa%8c%e8%af%81%e7%a0%81-wUIHWCFvvm\">WordPress\u5b89\u5168\u7b56\u7565\uff1a\u5728\u767b\u5f55\u65f6\u4f7f\u7528\u9a8c\u8bc1\u7801<\/title><\/p>\n<h1 id=\"wordpress%e5%ae%89%e5%85%a8%e7%ad%96%e7%95%a5%ef%bc%9a%e5%9c%a8%e7%99%bb%e5%bd%95%e6%97%b6%e4%bd%bf%e7%94%a8%e9%aa%8c%e8%af%81%e7%a0%81-wUIHWCFvvm\">WordPress\u5b89\u5168\u7b56\u7565\uff1a\u5728\u767b\u5f55\u65f6\u4f7f\u7528\u9a8c\u8bc1\u7801<\/h1>\n<p>WordPress\u662f\u76ee\u524d\u6700\u53d7\u6b22\u8fce\u7684\u5185\u5bb9\u7ba1\u7406\u7cfb\u7edf\u4e4b\u4e00\uff0c\u4f46\u5b83\u4e5f\u662f\u9ed1\u5ba2\u653b\u51fb\u7684\u4e3b\u8981\u76ee\u6807\u4e4b\u4e00\u3002\u4e3a\u4e86\u4fdd\u62a4\u60a8\u7684WordPress\u7f51\u7ad9\u514d\u53d7\u6076\u610f\u767b\u5f55\u5c1d\u8bd5\u548c\u672a\u7ecf\u6388\u6743\u7684\u8bbf\u95ee\uff0c\u4f7f\u7528\u9a8c\u8bc1\u7801\u662f\u4e00\u79cd\u6709\u6548\u7684\u5b89\u5168\u7b56\u7565\u3002<\/p>\n<h2 id=\"%e4%bb%80%e4%b9%88%e6%98%af%e9%aa%8c%e8%af%81%e7%a0%81%ef%bc%9f-wUIHWCFvvm\">\u4ec0\u4e48\u662f\u9a8c\u8bc1\u7801\uff1f<\/h2>\n<p>\u9a8c\u8bc1\u7801\uff08CAPTCHA\uff09\u662f\u4e00\u79cd\u7528\u4e8e\u533a\u5206\u8ba1\u7b97\u673a\u548c\u4eba\u7c7b\u7528\u6237\u7684\u6280\u672f\u3002\u5b83\u8981\u6c42\u7528\u6237\u5728\u767b\u5f55\u6216\u63d0\u4ea4\u8868\u5355\u4e4b\u524d\u5b8c\u6210\u4e00\u4e2a\u7b80\u5355\u7684\u4efb\u52a1\uff0c\u4f8b\u5982\u8bc6\u522b\u548c\u8f93\u5165\u7531\u626d\u66f2\u7684\u5b57\u6bcd\u548c\u6570\u5b57\u7ec4\u6210\u7684\u9a8c\u8bc1\u7801\u3002<\/p>\n<h2 id=\"%e4%b8%ba%e4%bb%80%e4%b9%88%e5%9c%a8wordpress%e7%99%bb%e5%bd%95%e6%97%b6%e4%bd%bf%e7%94%a8%e9%aa%8c%e8%af%81%e7%a0%81%ef%bc%9f-wUIHWCFvvm\">\u4e3a\u4ec0\u4e48\u5728WordPress\u767b\u5f55\u65f6\u4f7f\u7528\u9a8c\u8bc1\u7801\uff1f<\/h2>\n<p>WordPress\u767b\u5f55\u9875\u9762\u662f\u9ed1\u5ba2\u653b\u51fb\u7684\u4e3b\u8981\u76ee\u6807\u4e4b\u4e00\u3002\u9ed1\u5ba2\u4f7f\u7528\u81ea\u52a8\u5316\u811a\u672c\u548c\u6076\u610f\u7a0b\u5e8f\u8fdb\u884c\u5927\u89c4\u6a21\u7684\u66b4\u529b\u7834\u89e3\u653b\u51fb\uff0c\u5c1d\u8bd5\u4f7f\u7528\u5e38\u89c1\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801\u7ec4\u5408\u767b\u5f55\u5230WordPress\u7f51\u7ad9\u3002\u901a\u8fc7\u5728\u767b\u5f55\u9875\u9762\u6dfb\u52a0\u9a8c\u8bc1\u7801\uff0c\u60a8\u53ef\u4ee5\u963b\u6b62\u5927\u90e8\u5206\u81ea\u52a8\u5316\u653b\u51fb\uff0c\u56e0\u4e3a\u8fd9\u4e9b\u653b\u51fb\u7a0b\u5e8f\u65e0\u6cd5\u8bc6\u522b\u548c\u89e3\u51b3\u9a8c\u8bc1\u7801\u3002<\/p>\n<h2 id=\"%e5%a6%82%e4%bd%95%e5%9c%a8wordpress%e4%b8%ad%e6%b7%bb%e5%8a%a0%e9%aa%8c%e8%af%81%e7%a0%81%ef%bc%9f-wUIHWCFvvm\">\u5982\u4f55\u5728WordPress\u4e2d\u6dfb\u52a0\u9a8c\u8bc1\u7801\uff1f<\/h2>\n<p>\u8981\u5728WordPress\u4e2d\u6dfb\u52a0\u9a8c\u8bc1\u7801\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u63d2\u4ef6\u6216\u624b\u52a8\u6dfb\u52a0\u4ee3\u7801\u3002<\/p>\n<h3 id=\"%e4%bd%bf%e7%94%a8%e6%8f%92%e4%bb%b6-wUIHWCFvvm\">\u4f7f\u7528\u63d2\u4ef6<\/h3>\n<p>\u6709\u8bb8\u591aWordPress\u63d2\u4ef6\u53ef\u5e2e\u52a9\u60a8\u8f7b\u677e\u5730\u6dfb\u52a0\u9a8c\u8bc1\u7801\u529f\u80fd\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u53d7\u6b22\u8fce\u7684\u63d2\u4ef6\uff1a<\/p>\n<ul>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/captcha\/\" rel=\"nofollow noopener\" target=\"_blank\">Captcha by BestWebSoft<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/google-captcha\/\" rel=\"nofollow noopener\" target=\"_blank\">Google Captcha (reCAPTCHA) by BestWebSoft<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/really-simple-captcha\/\" rel=\"nofollow noopener\" target=\"_blank\">Really Simple CAPTCHA<\/a><\/li>\n<\/ul>\n<p>\u60a8\u53ef\u4ee5\u5728WordPress\u540e\u53f0\u7684\u201c\u63d2\u4ef6\u201d\u90e8\u5206\u641c\u7d22\u5e76\u5b89\u88c5\u8fd9\u4e9b\u63d2\u4ef6\u3002\u5b89\u88c5\u548c\u6fc0\u6d3b\u63d2\u4ef6\u540e\uff0c\u60a8\u53ef\u4ee5\u6839\u636e\u63d2\u4ef6\u7684\u8bf4\u660e\u8bbe\u7f6e\u548c\u914d\u7f6e\u9a8c\u8bc1\u7801\u3002<\/p>\n<h3 id=\"%e6%89%8b%e5%8a%a8%e6%b7%bb%e5%8a%a0%e4%bb%a3%e7%a0%81-wUIHWCFvvm\">\u624b\u52a8\u6dfb\u52a0\u4ee3\u7801<\/h3>\n<p>\u5982\u679c\u60a8\u719f\u6089WordPress\u4e3b\u9898\u548c\u63d2\u4ef6\u7684\u5f00\u53d1\uff0c\u60a8\u4e5f\u53ef\u4ee5\u624b\u52a8\u6dfb\u52a0\u9a8c\u8bc1\u7801\u529f\u80fd\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\u7247\u6bb5\uff0c\u6f14\u793a\u5982\u4f55\u5728\u767b\u5f55\u9875\u9762\u6dfb\u52a0Google reCAPTCHA\u9a8c\u8bc1\u7801\uff1a<\/p>\n<pre><code>&lt;?php\nfunction custom_login_captcha() {\n    ?&gt;\n    &lt;div class=\"g-recaptcha\" data-sitekey=\"YOUR_SITE_KEY\"&gt;&lt;\/div&gt;\n    &lt;script src=\"https:\/\/www.google.com\/recaptcha\/api.js\" async defer&gt;&lt;\/script&gt;\n    &lt;?php\n}\nadd_action('login_form', 'custom_login_captcha');\n?&gt;<\/code><\/pre>\n<p>\u8bf7\u786e\u4fdd\u5c06\u201cYOUR_SITE_KEY\u201d\u66ff\u6362\u4e3a\u60a8\u81ea\u5df1\u7684Google reCAPTCHA\u7ad9\u70b9\u5bc6\u94a5\u3002\u60a8\u53ef\u4ee5\u5728<a href=\"https:\/\/www.google.com\/recaptcha\/admin\" rel=\"nofollow noopener\" target=\"_blank\">Google reCAPTCHA\u7ba1\u7406\u754c\u9762<\/a>\u4e0a\u6ce8\u518c\u5e76\u83b7\u53d6\u7ad9\u70b9\u5bc6\u94a5\u3002<\/p>\n<h2 id=\"%e6%80%bb%e7%bb%93-wUIHWCFvvm\">\u603b\u7ed3<\/h2>\n<p>\u901a\u8fc7\u5728WordPress\u767b\u5f55\u9875\u9762\u6dfb\u52a0\u9a8c\u8bc1\u7801\uff0c\u60a8\u53ef\u4ee5\u6709\u6548\u5730\u4fdd\u62a4\u60a8\u7684\u7f51\u7ad9\u514d\u53d7\u6076\u610f\u767b\u5f55\u5c1d\u8bd5\u548c\u672a\u7ecf\u6388\u6743\u7684\u8bbf\u95ee\u3002\u4f7f\u7528\u63d2\u4ef6\u6216\u624b\u52a8\u6dfb\u52a0\u4ee3\u7801\uff0c\u60a8\u53ef\u4ee5\u8f7b\u677e\u5730\u4e3a\u60a8\u7684WordPress\u7f51\u7ad9\u542f\u7528\u9a8c\u8bc1\u7801\u529f\u80fd\u3002<\/p>\n<p>\u5982\u679c\u60a8\u6b63\u5728\u5bfb\u627e\u53ef\u9760\u7684\u9999\u6e2f\u670d\u52a1\u5668\u63d0\u4f9b\u5546\uff0c\u540e\u6d6a\u4e91\u662f\u60a8\u7684\u9996\u9009\u3002\u4ed6\u4eec\u63d0\u4f9b\u9ad8\u6027\u80fd\u7684\u9999\u6e2f\u670d\u52a1\u5668\uff0c\u786e\u4fdd\u60a8\u7684\u7f51\u7ad9\u5728\u9999\u6e2f\u5730\u533a\u62e5\u6709\u5feb\u901f\u548c\u53ef\u9760\u7684\u8bbf\u95ee\u901f\u5ea6\u3002\u60a8\u53ef\u4ee5\u5728<a href=\"https:\/\/idc.net\">\u540e\u6d6a\u4e91\u5b98\u7f51<\/a>\u4e86\u89e3\u66f4\u591a\u5173\u4e8e\u4ed6\u4eec\u7684\u9999\u6e2f\u670d\u52a1\u5668\u4ea7\u54c1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress\u5b89\u5168\u7b56\u7565\uff1a\u5728\u767b\u5f55\u65f6\u4f7f\u7528\u9a8c\u8bc1\u7801 WordPress\u5b89\u5168\u7b56\u7565\uff1a\u5728\u767b\u5f55\u65f6\u4f7f\u7528\u9a8c\u8bc1\u7801 WordPre [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[48],"tags":[],"class_list":["post-210453","post","type-post","status-publish","format-standard","hentry","category-wordpress"],"_links":{"self":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/210453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/comments?post=210453"}],"version-history":[{"count":0,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/210453\/revisions"}],"wp:attachment":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/media?parent=210453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/categories?post=210453"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/tags?post=210453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}