{"id":7509,"date":"2023-12-06T17:47:24","date_gmt":"2023-12-06T09:47:24","guid":{"rendered":"https:\/\/wpeyes.com\/wordpress\/?p=7509"},"modified":"2023-12-06T17:48:55","modified_gmt":"2023-12-06T09:48:55","slug":"%e5%a6%82%e4%bd%95%e5%85%81%e8%ae%b8%e7%94%a8%e6%88%b7%e5%9c%a8-wordpress-%e4%b8%ad%e5%8f%91%e8%a1%a8%e5%8c%bf%e5%90%8d%e8%af%84%e8%ae%ba","status":"publish","type":"post","link":"https:\/\/wpeyes.com\/wordpress\/archives\/7509","title":{"rendered":"\u5982\u4f55\u5141\u8bb8\u7528\u6237\u5728 WordPress \u4e2d\u53d1\u8868\u533f\u540d\u8bc4\u8bba"},"content":{"rendered":"\n<p>\u60a8\u60f3\u5141\u8bb8\u7528\u6237\u5728 WordPress \u4e2d\u53d1\u8868\u533f\u540d\u8bc4\u8bba\u5417\uff1f<\/p>\n\n\n\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5982\u679c\u7528\u6237\u672a\u5728\u8bc4\u8bba\u8868\u5355\u4e2d\u63d0\u4f9b\u59d3\u540d\u548c\u7535\u5b50\u90ae\u4ef6\u5730\u5740\uff0c\u5219\u65e0\u6cd5\u5728 WordPress \u4e2d\u7559\u4e0b\u8bc4\u8bba\u3002\u7136\u800c\uff0c\u5e76\u975e\u6bcf\u4e2a\u8bbf\u95ee\u8005\u90fd\u613f\u610f\u5206\u4eab\u4ed6\u4eec\u7684\u4e2a\u4eba\u6570\u636e\u3002<\/p>\n\n\n\n<p>\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u5411\u60a8\u5c55\u793a\u5982\u4f55\u5141\u8bb8\u7528\u6237\u5728\u60a8\u7684 WordPress \u7f51\u7ad9\u4e0a\u53d1\u8868\u533f\u540d\u8bc4\u8bba\u3002\u6211\u4eec\u8fd8\u5c06\u5411\u60a8\u5c55\u793a\u5982\u4f55\u5728 WordPress \u8bc4\u8bba\u8868\u5355\u4e2d\u9690\u85cf\u59d3\u540d\u548c\u7535\u5b50\u90ae\u4ef6\u5b57\u6bb5\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2014\/03\/how-to-allow-users-to-post-anonymous-comments-in-wordpress-og.png\" alt=\"\u5982\u4f55\u5141\u8bb8\u7528\u6237\u5728 WordPress \u4e2d\u53d1\u8868\u533f\u540d\u8bc4\u8bba\" class=\"wp-image-131406\" title=\"\u5982\u4f55\u5141\u8bb8\u7528\u6237\u5728 WordPress \u4e2d\u53d1\u8868\u533f\u540d\u8bc4\u8bba\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>WordPress \u5e94\u8be5\u5141\u8bb8\u533f\u540d\u8bc4\u8bba\u5417\uff1f<\/strong><\/h4>\n\n\n\n<p><a href=\"https:\/\/www.wpbeginner.com\/glossary\/comment\/\">\u8bc4\u8bba<\/a>\u5141\u8bb8\u8bbf\u95ee\u8005\u7559\u4e0b\u53cd\u9988\u548c\u5efa\u8bae\uff0c\u5e2e\u52a9\u6539\u8fdb\u60a8\u7684 WordPress \u7f51\u7ad9\u3002<\/p>\n\n\n\n<p>\u535a\u5ba2\u8bfb\u8005\u8fd8\u53ef\u4ee5\u4f7f\u7528\u8bc4\u8bba\u4e0e\u5176\u4ed6\u7528\u6237\u4e92\u52a8\u3002<a href=\"https:\/\/www.wpbeginner.com\/start-a-wordpress-blog\/\">\u6d3b\u8dc3\u7684\u8bc4\u8bba\u90e8\u5206\u53ef\u4ee5\u5728\u60a8\u7684WordPress \u535a\u5ba2<\/a>\u5468\u56f4\u8425\u9020\u4e00\u79cd\u793e\u533a\u611f\u3002\u6709\u4e9b\u4eba\u751a\u81f3\u53ef\u80fd\u53ea\u662f\u4e3a\u4e86\u9605\u8bfb\u65b0\u8bc4\u8bba\u800c\u8fd4\u56de\u5e16\u5b50\uff0c\u8fd9\u610f\u5473\u7740\u60a8\u7684\u7f51\u7ad9\u4f1a\u83b7\u5f97\u66f4\u591a\u6d4f\u89c8\u91cf\u3002<a href=\"https:\/\/www.wpbeginner.com\/start-a-wordpress-blog\/\"><\/a><\/p>\n\n\n\n<p>\u95ee\u9898\u662f WordPress \u4e0d\u5141\u8bb8\u7528\u6237\u5728\u4e0d\u5206\u4eab\u59d3\u540d\u548c\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u7684\u60c5\u51b5\u4e0b\u53d1\u8868\u8bc4\u8bba\uff0c\u800c\u4e14\u6709\u4e9b\u7528\u6237\u53ea\u662f\u66f4\u6ce8\u91cd\u9690\u79c1\u3002<\/p>\n\n\n\n<p>\u4ed6\u4eec\u53ef\u80fd\u5e76\u4e0d\u603b\u662f\u613f\u610f\u7528\u771f\u5b9e\u59d3\u540d\u53d1\u8868\u8bc4\u8bba\u3002<\/p>\n\n\n\n<p>\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c<strong>\u6700\u7406\u60f3\u7684\u89e3\u51b3\u65b9\u6848<\/strong>\u662f\u9f13\u52b1\u7528\u6237\u4f7f\u7528\u5316\u540d\u6216\u6635\u79f0\u6765\u4ee3\u66ff\u771f\u5b9e\u59d3\u540d\u3002<\/p>\n\n\n\n<p>\u8fd9\u5141\u8bb8\u60a8\u5efa\u7acb\u793e\u533a\uff0c\u540c\u65f6\u4ecd\u7136\u5141\u8bb8\u7528\u6237\u533f\u540d\u3002\u7528\u6237\u4ecd\u7136\u9700\u8981\u63d0\u4f9b\u7535\u5b50\u90ae\u4ef6\u5730\u5740\uff0c\u4f46\u5927\u591a\u6570\u60f3\u8981\u7559\u4e0b\u533f\u540d\u8bc4\u8bba\u7684\u4eba\u90fd\u6709\u5355\u72ec\u7684\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u3002<\/p>\n\n\n\n<p>\u60a8\u53ef\u4ee5\u901a\u8fc7\u5728\u8bc4\u8bba\u8868\u5355\u4e0a\u65b9<a href=\"https:\/\/www.wpbeginner.com\/wp-themes\/how-to-style-wordpress-comment-form\/#addcommentpolicy\">\u6dfb\u52a0\u8bc4\u8bba\u653f\u7b56\u6765\u4f20\u8fbe\u8fd9\u4e00\u70b9\u3002<\/a><\/p>\n\n\n\n<p>\u4f46\u6709\u65f6\uff0c\u60a8\u53ef\u80fd\u5e0c\u671b\u901a\u8fc7\u5c06\u59d3\u540d\u548c\u7535\u5b50\u90ae\u4ef6\u8bbe\u4e3a\u53ef\u9009\uff0c\u6216\u4ece\u8bc4\u8bba\u8868\u5355\u4e2d\u5b8c\u5168\u5220\u9664\u59d3\u540d\u548c\u7535\u5b50\u90ae\u4ef6\u5b57\u6bb5\u6765\u5141\u8bb8\u8fdb\u4e00\u6b65\u533f\u540d\u3002<\/p>\n\n\n\n<p>\u8bf7\u6ce8\u610f\uff0c\u5141\u8bb8\u533f\u540d\u8bc4\u8bba\u53ef\u80fd\u4f1a\u4f7f\u60a8\u7684\u7f51\u7ad9\u66f4\u5bb9\u6613\u53d7\u5230\u5783\u573e\u8bc4\u8bba\u7684\u5f71\u54cd\u3002\u5982\u679c\u60a8\u786e\u5b9e\u5141\u8bb8\u7528\u6237\u53d1\u8868\u533f\u540d\u8bc4\u8bba\uff0c\u90a3\u4e48\u60a8\u8fd8\u5e94\u8be5\u4f7f\u7528<a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/vital-tips-and-tools-to-combat-comment-spam-in-wordpress\/\">\u5de5\u5177\u6765\u6253\u51fb\u5783\u573e\u8bc4\u8bba<\/a>\u3002\u60a8\u8fd8\u53ef\u4ee5\u53c2\u9605\u6211\u4eec\u5173\u4e8e<a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/beginners-guide-on-how-to-moderate-comments-in-wordpress\/\">\u5982\u4f55\u5728 WordPress \u4e2d\u5ba1\u6838\u8bc4\u8bba\u7684<\/a>\u6307\u5357\uff0c\u4ee5\u83b7\u53d6\u66f4\u591a\u63d0\u793a\u3002<\/p>\n\n\n\n<p>\u8003\u8651\u5230\u8fd9\u4e00\u70b9\uff0c\u8ba9\u6211\u4eec\u770b\u770b\u5982\u4f55\u5141\u8bb8\u7528\u6237\u5728 WordPress \u4e2d\u53d1\u5e03\u533f\u540d\u8bc4\u8bba\u3002\u5982\u679c\u60a8\u559c\u6b22\u76f4\u63a5\u8df3\u8f6c\u5230\u7279\u5b9a\u65b9\u6cd5\uff0c\u90a3\u4e48\u60a8\u53ef\u4ee5\u7ee7\u7eed\u4f7f\u7528\u4e0b\u9762\u7684\u94fe\u63a5\u3002<\/p>\n\n\n\n<ul>\n<li><a href=\"https:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-allow-users-to-post-anonymous-comments-in-wordpress\/#allow-users-comment-anonymously\">\u65b9\u6cd5 1. \u5141\u8bb8\u7528\u6237\u4f7f\u7528\u53ef\u9009\u7684\u59d3\u540d\u548c\u7535\u5b50\u90ae\u4ef6\u5b57\u6bb5\u533f\u540d\u53d1\u5e16<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-allow-users-to-post-anonymous-comments-in-wordpress\/#remove-name-email-fields-wordpress-comment-form\">\u65b9\u6cd5 2. \u4ece WordPress \u8bc4\u8bba\u8868\u5355\u4e2d\u5220\u9664\u59d3\u540d\u548c\u7535\u5b50\u90ae\u4ef6\u5b57\u6bb5<\/a><\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"allow-users-comment-anonymously\"><strong>\u65b9\u6cd5 1. \u5141\u8bb8\u7528\u6237\u4f7f\u7528\u53ef\u9009\u7684\u59d3\u540d\u548c\u7535\u5b50\u90ae\u4ef6\u5b57\u6bb5\u533f\u540d\u53d1\u5e16<\/strong><\/h4>\n\n\n\n<p>\u6807\u51c6\u7684 WordPress \u8bc4\u8bba\u8868\u5355\u8981\u6c42\u7528\u6237\u8f93\u5165<a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/how-to-create-a-free-business-email-address-in-5-minutes-step-by-step\/\">\u7535\u5b50\u90ae\u4ef6\u5730\u5740<\/a>\u548c\u59d3\u540d\uff0c\u7136\u540e\u624d\u80fd\u53d1\u8868\u8bc4\u8bba\u3002<\/p>\n\n\n\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u8fd9\u4e9b\u5b57\u6bb5\u662f\u5fc5\u9700\u7684\uff0c\u4f46\u60a8\u53ef\u4ee5\u5c06\u5b83\u4eec\u8bbe\u4e3a\u53ef\u9009\u3002\u8fd9\u610f\u5473\u7740\u613f\u610f\u5206\u4eab\u4e2a\u4eba\u4fe1\u606f\u7684\u8bbf\u95ee\u8005\u4ecd\u7136\u53ef\u4ee5\u8f93\u5165\u81ea\u5df1\u7684\u59d3\u540d\u548c\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u3002<\/p>\n\n\n\n<p>\u8981\u5c06\u8bc4\u8bba\u8868\u5355\u7684\u201c\u59d3\u540d\u201d\u548c\u201c\u7535\u5b50\u90ae\u4ef6\u201d\u5b57\u6bb5\u8bbe\u7f6e\u4e3a\u53ef\u9009\uff0c\u8bf7\u8f6c\u5230WordPress \u4eea\u8868\u677f\u4e2d\u7684<strong>\u201c\u8bbe\u7f6e\u201d\u00bb\u201c\u8ba8\u8bba\u201d<\/strong>\u3002<\/p>\n\n\n\n<p>\u5728\u8fd9\u91cc\uff0c\u53ea\u9700\u53d6\u6d88\u9009\u4e2d\u201c\u8bc4\u8bba\u4f5c\u8005\u5fc5\u987b\u586b\u5199\u59d3\u540d\u548c\u7535\u5b50\u90ae\u4ef6\u201d\u65c1\u8fb9\u7684\u6846\u5373\u53ef\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2014\/03\/name-email-optional-1.png\" alt=\"WordPress \u5141\u8bb8\u533f\u540d\u8bc4\u8bba\" class=\"wp-image-131408\" title=\"WordPress \u5141\u8bb8\u533f\u540d\u8bc4\u8bba\"\/><\/figure>\n\n\n\n<p>\u5b8c\u6210\u540e\uff0c\u53ea\u9700\u6eda\u52a8\u5230\u9875\u9762\u5e95\u90e8\u5e76\u5355\u51fb\u201c\u4fdd\u5b58\u66f4\u6539\u201d\u3002<\/p>\n\n\n\n<p>\u8bbf\u95ee\u8005\u73b0\u5728\u65e0\u9700\u8f93\u5165\u59d3\u540d\u548c\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u5373\u53ef\u53d1\u8868\u8bc4\u8bba\u3002\u7136\u800c\uff0c\u6807\u51c6\u7684 WordPress \u8bc4\u8bba\u8868\u5355\u4ecd\u7136\u6309\u8981\u6c42\u663e\u793a\u201c\u59d3\u540d\u201d\u548c\u201c\u7535\u5b50\u90ae\u4ef6\u201d\u5b57\u6bb5\uff0c\u56e0\u6b64\u8bbf\u95ee\u8005\u4e0d\u4f1a\u77e5\u9053\u4ed6\u4eec\u53ef\u4ee5\u533f\u540d\u53d1\u5e16\u3002<\/p>\n\n\n\n<p>\u8003\u8651\u5230\u8fd9\u4e00\u70b9\uff0c\u60a8\u9700\u8981\u5c06\u201c\u53ef\u9009\u201d\u6807\u7b7e\u6dfb\u52a0\u5230\u201c\u540d\u79f0\u201d\u548c\u201c\u7535\u5b50\u90ae\u4ef6\u201d\u5b57\u6bb5\u3002\u5f53\u60a8\u8fdb\u884c\u6b64\u66f4\u6539\u65f6\uff0c\u6211\u4eec\u8fd8\u5efa\u8bae\u60a8<a href=\"https:\/\/www.wpbeginner.com\/plugins\/how-to-remove-website-url-field-from-wordpress-comment-form\/\">\u4ece WordPress \u8bc4\u8bba\u8868\u5355\u4e2d\u5220\u9664\u7f51\u7ad9 URL \u5b57\u6bb5<\/a>\u3002<\/p>\n\n\n\n<p>\u8bb8\u591a\u5783\u573e\u90ae\u4ef6\u53d1\u9001\u8005\u548c\u673a\u5668\u4eba\u53d1\u5e03\u8bc4\u8bba\u7684\u76ee\u7684\u662f\u5728\u60a8\u7684\u7f51\u7ad9\u4e0a\u653e\u7f6e\u94fe\u63a5\u3002\u901a\u8fc7\u4ece WordPress \u8bc4\u8bba\u8868\u5355\u4e2d\u5220\u9664\u7f51\u7ad9 URL \u5b57\u6bb5\uff0c\u60a8\u53ef\u4ee5\u963b\u6b62\u4eba\u4eec\u53d1\u5e03\u5783\u573e\u8bc4\u8bba\u3002<\/p>\n\n\n\n<p>\u60a8\u53ef\u4ee5\u901a\u8fc7\u5c06\u4ee5\u4e0b\u4ee3\u7801\u6bb5\u6dfb\u52a0\u5230\u60a8\u7684\u7f51\u7ad9\u6765\u6dfb\u52a0\u201c\u53ef\u9009\u201d\u6807\u7b7e\u5e76\u9690\u85cf\u7f51\u7ad9 URL \u5b57\u6bb5\u3002<\/p>\n\n\n\n<p>\u60a8\u53ef\u4ee5\u5c06\u6b64\u4ee3\u7801\u6dfb\u52a0\u5230\u60a8\u7684<a href=\"https:\/\/www.wpbeginner.com\/glossary\/functions-php\/\">functions.php \u6587\u4ef6<\/a>\u4e2d\u3001<a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/what-why-and-how-tos-of-creating-a-site-specific-wordpress-plugin\/\">\u7279\u5b9a\u4e8e\u7ad9\u70b9\u7684\u63d2\u4ef6<\/a>\u4e2d\uff0c\u6216\u8005\u4f7f\u7528<a href=\"https:\/\/www.wpbeginner.com\/plugins\/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site\/\">\u4ee3\u7801\u7247\u6bb5\u63d2\u4ef6<\/a>\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1234567891011121314151617 \u53f718<\/td><td><code>function<\/code><code>wpb_alter_comment_form_fields(<\/code><code>$fields<\/code><code>) {<\/code><code>&nbsp;<\/code><code>\/\/ Modify Name Field and show that it's Optional <\/code><code>$fields<\/code><code>[<\/code><code>'author'<\/code><code>] = <\/code><code>'&lt;p class=\"comment-form-author\"&gt;'<\/code><code>. <\/code><code>'&lt;label for=\"author\"&gt;'<\/code><code>. __( <\/code><code>'Name (Optional)'<\/code><code>) . <\/code><code>'&lt;\/label&gt; '<\/code><code>. ( <\/code><code>$req<\/code><code>? <\/code><code>'&lt;span class=\"required\"&gt;*&lt;\/span&gt;'<\/code><code>: <\/code><code>''<\/code><code>) .<\/code><code>'&lt;input id=\"author\" name=\"author\" type=\"text\" value=\"'<\/code><code>. esc_attr( <\/code><code>$commenter<\/code><code>[<\/code><code>'comment_author'<\/code><code>] ) . <\/code><code>'\" size=\"30\"'<\/code><code>. <\/code><code>$aria_req<\/code><code>. <\/code><code>' \/&gt;&lt;\/p&gt;'<\/code><code>;<\/code><code>&nbsp;<\/code><code>\/\/ Modify Email Field and show that it's Optional<\/code><code>$fields<\/code><code>[<\/code><code>'email'<\/code><code>] = <\/code><code>'&lt;p class=\"comment-form-email\"&gt;&lt;label for=\"email\"&gt;'<\/code><code>. __( <\/code><code>'Email (Optional)'<\/code><code>, <\/code><code>'twentythirteen'<\/code><code>) . <\/code><code>'&lt;\/label&gt; '<\/code><code>.<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>( <\/code><code>$req<\/code><code>? <\/code><code>'&lt;span class=\"required\"&gt;*&lt;\/span&gt;'<\/code><code>: <\/code><code>''<\/code><code>) .<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>'&lt;input id=\"email\" name=\"email\" type=\"text\" value=\"'<\/code><code>. esc_attr(&nbsp; <\/code><code>$commenter<\/code><code>[<\/code><code>'comment_author_email'<\/code><code>] ) .<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>'\" size=\"30\"'<\/code><code>. <\/code><code>$aria_req<\/code><code>. <\/code><code>' \/&gt;&lt;\/p&gt;'<\/code><code>; <\/code><code>&nbsp;<\/code><code>\/\/ This line removes the website URL from comment form.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>$fields<\/code><code>[<\/code><code>'url'<\/code><code>] = <\/code><code>''<\/code><code>;<\/code><code>&nbsp;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>return<\/code><code>$fields<\/code><code>;<\/code><code>}<\/code><code>add_filter(<\/code><code>'comment_form_default_fields'<\/code><code>, <\/code><code>'wpb_alter_comment_form_fields'<\/code><code>);<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u7531<\/p>\n\n\n\n<p><strong><a href=\"https:\/\/wpcode.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">WPCode\u4e0e \u2764\ufe0f \u4e3b\u529e<\/a><\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/library.wpcode.com\/use-snippet\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u5728 WordPress \u4e2d\u4e00\u952e\u4f7f\u7528<\/a><\/p>\n\n\n\n<p>\u7136\u540e\uff0c\u53ea\u9700\u4fdd\u5b58\u60a8\u7684\u66f4\u6539\u5373\u53ef\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u60a8\u8bbf\u95ee\u60a8\u7684\u7f51\u7ad9\uff0c\u60a8\u73b0\u5728\u4f1a\u770b\u5230\u201c\u540d\u79f0\u201d\u548c\u201c\u7535\u5b50\u90ae\u4ef6\u201d\u5b57\u6bb5\u88ab\u6807\u8bb0\u4e3a\u201c\u53ef\u9009\u201d\u3002\u60a8\u8fd8\u4ece WordPress \u8bc4\u8bba\u8868\u5355\u4e2d\u5220\u9664\u4e86\u7f51\u7ad9 URL \u5b57\u6bb5\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2014\/03\/customized-comments-form.png\" alt=\"WordPress \u8bc4\u8bba\u8868\u5355\" class=\"wp-image-131411\" title=\"WordPress \u8bc4\u8bba\u8868\u5355\"\/><\/figure>\n\n\n\n<p><a href=\"https:\/\/www.wpbeginner.com\/wp-themes\/how-to-style-wordpress-comment-form\/\">\u6709\u5173\u66f4\u591a\u8be6\u7ec6\u4fe1\u606f\uff0c\u8bf7\u53c2\u9605\u6709\u5173\u5982\u4f55\u8bbe\u7f6e WordPress \u8bc4\u8bba\u8868\u5355\u6837\u5f0f\u7684<\/a>\u5206\u6b65\u6307\u5357\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"remove-name-email-fields-wordpress-comment-form\"><strong>\u65b9\u6cd5 2. \u4ece WordPress \u8bc4\u8bba\u8868\u5355\u4e2d\u5220\u9664\u59d3\u540d\u548c\u7535\u5b50\u90ae\u4ef6\u5b57\u6bb5<\/strong><\/h4>\n\n\n\n<p>\u53e6\u4e00\u79cd\u9009\u62e9\u662f\u4ece WordPress \u8bc4\u8bba\u8868\u5355\u4e2d\u5b8c\u5168\u5220\u9664\u201c\u59d3\u540d\u201d\u548c\u201c\u7535\u5b50\u90ae\u4ef6\u201d\u5b57\u6bb5\u3002\u8fd9\u975e\u5e38\u6e05\u695a\u5730\u8868\u660e\u8bbf\u95ee\u8005\u53ef\u4ee5\u533f\u540d\u53d1\u5e16\u3002<\/p>\n\n\n\n<p>\u4e3a\u6b64\uff0c\u60a8\u9700\u8981\u5411\u4e3b\u9898\u7684functions.php<a href=\"https:\/\/www.wpbeginner.com\/glossary\/functions-php\/\">&nbsp;<\/a>\u6587\u4ef6\u6dfb\u52a0\u4e00\u4e9b\u4ee3\u7801\u3002\u4f46\u662f\uff0c\u5982\u679c\u60a8\u76f4\u63a5\u5c06\u6b64\u4ee3\u7801\u6dfb\u52a0\u5230functions.php \u6587\u4ef6\u4e2d\uff0c\u90a3\u4e48\u6bcf\u6b21\u66f4\u65b0WordPress \u4e3b\u9898\u65f6\u60a8\u90fd\u4f1a\u9762\u4e34\u4e22\u5931\u81ea\u5b9a\u4e49\u4ee3\u7801\u7684\u98ce\u9669\u3002<\/p>\n\n\n\n<p>\u76f8\u53cd\uff0c\u6211\u4eec\u5efa\u8bae\u521b\u5efa\u4e00\u4e2a\u5b50\u4e3b\u9898\uff0c\u7136\u540e\u5c06\u4ee3\u7801\u6dfb\u52a0\u5230\u8be5\u5b50\u4e3b\u9898\u3002\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u60a8\u53ef\u4ee5\u66f4\u65b0\u4e3b\u9898\u800c\u4e0d\u4f1a\u4e22\u5931\u6dfb\u52a0\u5230functions.php\u4e2d\u7684\u4ee3\u7801\u3002<a href=\"https:\/\/www.wpbeginner.com\/wp-themes\/how-to-create-a-wordpress-child-theme-video\/\">\u8981\u4e86\u89e3\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u53c2\u9605\u6211\u4eec\u6709\u5173\u5982\u4f55\u521b\u5efa WordPress \u5b50\u4e3b\u9898\u7684<\/a>\u5206\u6b65\u6307\u5357\u3002<\/p>\n\n\n\n<p>\u60a8\u7684\u5176\u4ed6\u9009\u62e9\u662f\u521b\u5efa\u7279\u5b9a\u4e8e\u7ad9\u70b9\u7684\u63d2\u4ef6\uff0c\u6216\u4f7f\u7528<a href=\"https:\/\/www.wpbeginner.com\/plugins\/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site\/\">\u4ee3\u7801\u7247\u6bb5\u63d2\u4ef6<\/a>\u3002<\/p>\n\n\n\n<p>\u65e0\u8bba\u60a8\u9009\u62e9\u54ea\u4e2a\u9009\u9879\uff0c\u60a8\u90fd\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u4ee5\u4e0b\u4ee3\u7801\u6765\u5b8c\u5168\u5220\u9664\u201c\u59d3\u540d\u201d\u548c\u201c\u7535\u5b50\u90ae\u4ef6\u201d\u5b57\u6bb5\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1234567<\/td><td><code>function<\/code><code>wpb_alter_comment_form_fields(<\/code><code>$fields<\/code><code>) {<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>unset(<\/code><code>$fields<\/code><code>[<\/code><code>'author'<\/code><code>]);<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>unset(<\/code><code>$fields<\/code><code>[<\/code><code>'email'<\/code><code>]);<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>unset(<\/code><code>$fields<\/code><code>[<\/code><code>'url'<\/code><code>]);<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>return<\/code><code>$fields<\/code><code>;<\/code><code>}<\/code><code>add_filter(<\/code><code>'comment_form_default_fields'<\/code><code>, <\/code><code>'wpb_alter_comment_form_fields'<\/code><code>);<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u7531<\/p>\n\n\n\n<p><strong><a href=\"https:\/\/wpcode.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">WPCode\u4e0e \u2764\ufe0f \u4e3b\u529e<\/a><\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/library.wpcode.com\/use-snippet\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u5728 WordPress \u4e2d\u4e00\u952e\u4f7f\u7528<\/a><\/p>\n\n\n\n<p>\u73b0\u5728\uff0c\u5982\u679c\u60a8\u8bbf\u95ee\u60a8\u7684\u7f51\u7ad9\uff0c\u60a8\u4f1a\u53d1\u73b0\u8bbf\u95ee\u8005\u65e0\u6cd5\u518d\u8f93\u5165\u4ed6\u4eec\u7684\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u6216\u59d3\u540d\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2014\/03\/hidden-email-name.png\" alt=\"WordPress \u4e2d\u7684\u533f\u540d\u8bc4\u8bba\u8868\u5355\" class=\"wp-image-131412\" title=\"WordPress \u4e2d\u7684\u533f\u540d\u8bc4\u8bba\u8868\u5355\"\/><\/figure>\n\n\n\n<p>\u6839\u636e\u60a8\u7684<a href=\"https:\/\/www.wpbeginner.com\/showcase\/best-wordpress-themes\/\">WordPress \u4e3b\u9898<\/a>\uff0c\u60a8\u7684\u8bc4\u8bba\u90e8\u5206\u53ef\u80fd\u4ecd\u4f1a\u663e\u793a\u4ee5\u4e0b\u6587\u672c\uff1a<\/p>\n\n\n\n<p>\u60a8\u7684\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u4e0d\u4f1a\u88ab\u516c\u5f00\u3002\u5fc5\u9700\u7684\u5730\u65b9\u5df2\u505a\u6807\u8bb0 *<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2014\/03\/email-address-published.png\" alt=\"\u4e3a\u7528\u6237\u63d0\u4f9b\u5728 WordPress \u4e2d\u53d1\u8868\u533f\u540d\u8bc4\u8bba\u7684\u9009\u9879\" class=\"wp-image-131413\" title=\"\u4e3a\u7528\u6237\u63d0\u4f9b\u5728 WordPress \u4e2d\u53d1\u8868\u533f\u540d\u8bc4\u8bba\u7684\u9009\u9879\"\/><\/figure>\n\n\n\n<p>\u7531\u4e8e\u8bbf\u95ee\u8005\u65e0\u6cd5\u518d\u8f93\u5165\u4ed6\u4eec\u7684\u7535\u5b50\u90ae\u4ef6\u5730\u5740\uff0c\u56e0\u6b64\u8be5\u6d88\u606f\u4ee4\u4eba\u56f0\u60d1\u3002\u5982\u679c\u60a8\u5220\u9664\u201c\u59d3\u540d\u201d\u548c\u201c\u7535\u5b50\u90ae\u4ef6\u201d\u5b57\u6bb5\uff0c\u90a3\u4e48\u60a8\u4e5f\u5e94\u8be5\u5220\u9664\u6b64\u6d88\u606f\u3002<\/p>\n\n\n\n<p>\u8981\u5220\u9664\u201c\u60a8\u7684\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u5c06\u4e0d\u4f1a\u88ab\u53d1\u5e03\u201d\u884c\uff0c\u8bf7\u6253\u5f00\u4e3b\u9898\u7684 comments.php \u6587\u4ef6\u3002\u60a8\u73b0\u5728\u53ef\u4ee5\u627e\u5230\u4ee5\u4e0b\u90e8\u5206\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td><code>&lt;?php comment_form ?&gt;<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u7531<\/p>\n\n\n\n<p><strong><a href=\"https:\/\/wpcode.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">WPCode\u4e0e \u2764\ufe0f \u4e3b\u529e<\/a><\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/library.wpcode.com\/use-snippet\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u5728 WordPress \u4e2d\u4e00\u952e\u4f7f\u7528<\/a><\/p>\n\n\n\n<p>\u7136\u540e\uff0c\u53ea\u9700\u5c06\u6b64\u90e8\u5206\u66ff\u6362\u4e3a\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>12345<\/td><td><code>&lt;?php<\/code><code>comment_form(<\/code><code>array<\/code><code>(<\/code><code>'comment_notes_before'<\/code><code>=&gt; <\/code><code>'&lt;p class=\"comment-notes\"&gt;'<\/code><code>. __( <\/code><code>'No name or email address required.'<\/code><code>) . ( <\/code><code>$req<\/code><code>? <\/code><code>$required_text<\/code><code>: <\/code><code>''<\/code><code>) . <\/code><code>'&lt;\/p&gt;'<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>));<\/code><code>?&gt;<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u7531<\/p>\n\n\n\n<p><strong><a href=\"https:\/\/wpcode.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">WPCode\u4e0e \u2764\ufe0f \u4e3b\u529e<\/a><\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/library.wpcode.com\/use-snippet\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u5728 WordPress \u4e2d\u4e00\u952e\u4f7f\u7528<\/a><\/p>\n\n\n\n<p>\u6bcf\u4e2a\u4e3b\u9898\u90fd\u662f\u4e0d\u540c\u7684\uff0c\u56e0\u6b64\u60a8\u7684\u4e3b\u9898\u53ef\u80fd\u6ca1\u6709 &lt;?php comment_form ?&gt; \u90e8\u5206\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u60a8\u627e\u4e0d\u5230\u6b64\u4ee3\u7801\uff0c\u53ea\u9700\u6253\u5f00\u4e3b\u9898\u7684 style.css \u6587\u4ef6\u5373\u53ef\u3002<\/p>\n\n\n\n<p>\u7136\u540e\uff0c\u60a8\u53ef\u4ee5\u6dfb\u52a0\u4ee5\u4e0b\u4ee3\u7801\u7247\u6bb5\uff0c\u8fd9\u5c06\u5220\u9664\u201c\u60a8\u7684\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u5c06\u4e0d\u4f1a\u88ab\u53d1\u5e03\u201d\u6587\u672c\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>123<\/td><td><code>.comment-notes {<\/code><code>display:none;<\/code><code>}<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u7531<\/p>\n\n\n\n<p><strong><a href=\"https:\/\/wpcode.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">WPCode\u4e0e \u2764\ufe0f \u4e3b\u529e<\/a><\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/library.wpcode.com\/use-snippet\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u5728 WordPress \u4e2d\u4e00\u952e\u4f7f\u7528<\/a><\/p>\n\n\n\n<p>\u4e0b\u56fe\u663e\u793a\u4e86\u60a8\u7684 WordPress \u8bc4\u8bba\u8868\u5355\u5728\u6ca1\u6709\u6b64\u6d88\u606f\u7684\u60c5\u51b5\u4e0b\u7684\u5916\u89c2\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2014\/03\/anonymous-wordpress-comment-.png\" alt=\"WordPress \u4e2d\u533f\u540d\u8bc4\u8bba\u7684\u793a\u4f8b\" class=\"wp-image-131414\" title=\"WordPress \u4e2d\u533f\u540d\u8bc4\u8bba\u7684\u793a\u4f8b\"\/><\/figure>\n\n\n\n<p>\u6b63\u5982\u60a8\u5728\u4e0a\u56fe\u4e2d\u770b\u5230\u7684\uff0cWordPress \u8bc4\u8bba\u8868\u5355\u8fd8\u6709\u4e00\u4e2a\u590d\u9009\u6846\uff0c\u4e0a\u9762\u5199\u7740\u201c\u5728\u6b64\u6d4f\u89c8\u5668\u4e2d\u4fdd\u5b58\u6211\u7684\u59d3\u540d\u3001\u7535\u5b50\u90ae\u4ef6\u548c\u7f51\u7ad9\uff0c\u4ee5\u4f9b\u4e0b\u6b21\u8bc4\u8bba\u65f6\u4f7f\u7528\u201d\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/the-ultimate-guide-to-wordpress-and-gdpr-compliance-everything-you-need-to-know\/\">\u6b64\u590d\u9009\u6846\u662f\u4f7f\u60a8\u7684\u7f51\u7ad9\u7b26\u5408 GDPR \u8981\u6c42<\/a>\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002<\/p>\n\n\n\n<p>\u7531\u4e8e\u60a8\u4e0d\u4f1a\u6536\u96c6\u8bbf\u95ee\u8005\u7684\u4efb\u4f55\u4e2a\u4eba\u8eab\u4efd\u4fe1\u606f\uff0c\u56e0\u6b64\u60a8\u53ef\u4ee5\u5220\u9664\u6b64\u590d\u9009\u6846\u3002<\/p>\n\n\n\n<p>\u8981\u5220\u9664\u201c\u4fdd\u5b58\u6211\u7684\u540d\u5b57&#8230;\u201d\u590d\u9009\u6846\uff0c\u53ea\u9700\u5c06\u4ee5\u4e0b\u4ee3\u7801\u6dfb\u52a0\u5230\u60a8\u7684functions.php \u6587\u4ef6\u4e2d\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>12345<\/td><td><code>add_filter( <\/code><code>'comment_form_default_fields'<\/code><code>, <\/code><code>'wpb_comment_form_hide_cookies_consent'<\/code><code>);<\/code><code>function<\/code><code>wpb_comment_form_hide_cookies_consent( <\/code><code>$fields<\/code><code>) {<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>unset( <\/code><code>$fields<\/code><code>[<\/code><code>'cookies'<\/code><code>] );<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>return<\/code><code>$fields<\/code><code>;<\/code><code>}<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u7531<\/p>\n\n\n\n<p><strong><a href=\"https:\/\/wpcode.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">WPCode\u4e0e \u2764\ufe0f \u4e3b\u529e<\/a><\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/library.wpcode.com\/use-snippet\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u5728 WordPress \u4e2d\u4e00\u952e\u4f7f\u7528<\/a><\/p>\n\n\n\n<p>\u4fdd\u5b58\u66f4\u6539\u540e\uff0c\u60a8\u4f1a\u770b\u5230\u201c\u4fdd\u5b58\u6211\u7684\u540d\u5b57&#8230;\u201d\u6d88\u606f\u5df2\u4ece WordPress \u8bc4\u8bba\u8868\u5355\u4e2d\u6d88\u5931\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2014\/03\/comment-gdpr-disclaimer-.png\" alt=\"\u533f\u540d WordPress \u8bc4\u8bba\u8868\" class=\"wp-image-131415\" title=\"\u533f\u540d WordPress \u8bc4\u8bba\u8868\"\/><\/figure>\n\n\n\n<p>\u4e00\u4e9b\u8bbf\u95ee\u8005\u5e0c\u671b\u5c06\u4ed6\u4eec\u7684\u79c1\u4eba\u4fe1\u606f\u4fdd\u5bc6\u3002\u4f46\u662f\uff0c\u5176\u4ed6\u4eba\u53ef\u80fd\u60f3\u4e0e\u60a8\u5206\u4eab\u4ed6\u4eec\u7684\u8054\u7cfb\u4fe1\u606f\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u60a8\u786e\u5b9e\u5220\u9664\u4e86\u201c\u59d3\u540d\u201d\u548c\u201c\u7535\u5b50\u90ae\u4ef6\u201d\u5b57\u6bb5\uff0c\u90a3\u4e48\u60a8\u53ef\u80fd\u5e0c\u671b\u4e3a\u8bbf\u95ee\u8005\u63d0\u4f9b\u4e0d\u540c\u7684\u65b9\u5f0f\u6765\u5206\u4eab\u5176\u4e2a\u4eba\u4fe1\u606f\u3002<\/p>\n\n\n\n<p>\u8054\u7cfb\u8868\u683c\u53ef\u8ba9\u8bbf\u95ee\u8005\u76f4\u63a5\u4e0e\u60a8\u8054\u7cfb\u5e76\u83b7\u5f97\u4e2a\u6027\u5316\u7684\u56de\u590d\u3002<a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/how-to-create-a-contact-form-in-wordpress\/\">\u8981\u4e86\u89e3\u66f4\u591a\u4fe1\u606f\uff0c\u60a8\u53ef\u4ee5\u67e5\u770b\u6211\u4eec\u6709\u5173\u5982\u4f55\u5728 WordPress \u4e2d\u521b\u5efa\u8054\u7cfb\u8868\u5355\u7684<\/a>\u5206\u6b65\u6307\u5357\u3002<\/p>\n\n\n\n<p>\u60a8\u8fd8\u53ef\u4ee5\u4f7f\u7528<a href=\"https:\/\/www.wpbeginner.com\/showcase\/best-email-capture-tools\/\">\u7535\u5b50\u90ae\u4ef6\u6355\u83b7\u5de5\u5177<\/a>\u6765\u6536\u96c6\u6f5c\u5728\u5ba2\u6237\u7684\u8054\u7cfb\u4fe1\u606f\uff0c\u5e76\u4e0e\u8bbf\u95ee\u60a8\u7f51\u7ad9\u7684\u4eba\u5458\u4fdd\u6301\u8054\u7cfb\u3002<\/p>\n\n\n\n<p>\u6211\u4eec\u5e0c\u671b\u672c\u6587\u80fd\u5e2e\u52a9\u60a8\u4e86\u89e3\u5982\u4f55\u5141\u8bb8\u7528\u6237\u5728 WordPress \u4e2d\u53d1\u8868\u533f\u540d\u8bc4\u8bba\u3002\u60a8\u8fd8\u53ef\u4ee5\u9605\u8bfb\u6211\u4eec\u7684\u6307\u5357\uff0c\u4e86\u89e3<a href=\"https:\/\/www.wpbeginner.com\/showcase\/7-best-analytics-solutions-for-wordpress-users\/\">\u9002\u7528\u4e8e WordPress \u7528\u6237\u7684\u6700\u4f73\u5206\u6790\u89e3\u51b3\u65b9\u6848<\/a>\u4ee5\u53ca<a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/how-to-allow-user-registration-on-your-wordpress-site\/\">\u5982\u4f55\u5141\u8bb8\u7528\u6237\u5728\u60a8\u7684 WordPress \u7f51\u7ad9\u4e0a\u6ce8\u518c<\/a>\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u60a8\u60f3\u5141\u8bb8\u7528\u6237\u5728 WordPress \u4e2d\u53d1\u8868\u533f\u540d\u8bc4\u8bba\u5417\uff1f \u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5982\u679c\u7528\u6237\u672a\u5728\u8bc4\u8bba\u8868\u5355\u4e2d\u63d0\u4f9b\u59d3\u540d\u548c\u7535\u5b50\u90ae\u4ef6\u5730 &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/wpeyes.com\/wordpress\/archives\/7509\"> <span class=\"screen-reader-text\">\u5982\u4f55\u5141\u8bb8\u7528\u6237\u5728 WordPress \u4e2d\u53d1\u8868\u533f\u540d\u8bc4\u8bba<\/span> Read More \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":7511,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"site-sidebar-layout":"default","site-content-layout":"default","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":""},"categories":[30],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5982\u4f55\u5141\u8bb8\u7528\u6237\u5728 WordPress \u4e2d\u53d1\u8868\u533f\u540d\u8bc4\u8bba - WordPress\u4e2d\u6587<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wpeyes.com\/wordpress\/archives\/7509\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u5141\u8bb8\u7528\u6237\u5728 WordPress \u4e2d\u53d1\u8868\u533f\u540d\u8bc4\u8bba - WordPress\u4e2d\u6587\" \/>\n<meta property=\"og:description\" content=\"\u60a8\u60f3\u5141\u8bb8\u7528\u6237\u5728 WordPress \u4e2d\u53d1\u8868\u533f\u540d\u8bc4\u8bba\u5417\uff1f \u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5982\u679c\u7528\u6237\u672a\u5728\u8bc4\u8bba\u8868\u5355\u4e2d\u63d0\u4f9b\u59d3\u540d\u548c\u7535\u5b50\u90ae\u4ef6\u5730 &hellip; \u5982\u4f55\u5141\u8bb8\u7528\u6237\u5728 WordPress \u4e2d\u53d1\u8868\u533f\u540d\u8bc4\u8bba Read More \u00bb\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpeyes.com\/wordpress\/archives\/7509\" \/>\n<meta property=\"og:site_name\" content=\"WordPress\u4e2d\u6587\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-06T09:47:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-06T09:48:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2014\/03\/how-to-allow-users-to-post-anonymous-comments-in-wordpress-thumb.png\" \/>\n<meta name=\"author\" content=\"qmk\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2014\/03\/how-to-allow-users-to-post-anonymous-comments-in-wordpress-thumb.png\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"qmk\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/archives\/7509#article\",\"isPartOf\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/archives\/7509\"},\"author\":{\"name\":\"qmk\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#\/schema\/person\/80e9903d893da74eb372a4c631f6e22c\"},\"headline\":\"\u5982\u4f55\u5141\u8bb8\u7528\u6237\u5728 WordPress \u4e2d\u53d1\u8868\u533f\u540d\u8bc4\u8bba\",\"datePublished\":\"2023-12-06T09:47:24+00:00\",\"dateModified\":\"2023-12-06T09:48:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/archives\/7509\"},\"wordCount\":68,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#organization\"},\"articleSection\":[\"\u6700\u4f73\u6559\u7a0b\"],\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/wpeyes.com\/wordpress\/archives\/7509#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/archives\/7509\",\"url\":\"https:\/\/wpeyes.com\/wordpress\/archives\/7509\",\"name\":\"\u5982\u4f55\u5141\u8bb8\u7528\u6237\u5728 WordPress \u4e2d\u53d1\u8868\u533f\u540d\u8bc4\u8bba - WordPress\u4e2d\u6587\",\"isPartOf\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#website\"},\"datePublished\":\"2023-12-06T09:47:24+00:00\",\"dateModified\":\"2023-12-06T09:48:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/archives\/7509#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wpeyes.com\/wordpress\/archives\/7509\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/archives\/7509#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/wpeyes.com\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u535a\u6587\",\"item\":\"https:\/\/wpeyes.com\/wordpress\/archives\/category\/web-article\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"wpbeginner\",\"item\":\"https:\/\/wpeyes.com\/wordpress\/archives\/category\/web-article\/wpbeginner\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"\u6700\u4f73\u6559\u7a0b\",\"item\":\"https:\/\/wpeyes.com\/wordpress\/archives\/category\/web-article\/wpbeginner\/tutorials\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"\u5982\u4f55\u5141\u8bb8\u7528\u6237\u5728 WordPress \u4e2d\u53d1\u8868\u533f\u540d\u8bc4\u8bba\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#website\",\"url\":\"https:\/\/wpeyes.com\/wordpress\/\",\"name\":\"WordPress\u4e2d\u6587\",\"description\":\"wpeyes\u6280\u672f\u89c6\u70b9\",\"publisher\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wpeyes.com\/wordpress\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-CN\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#organization\",\"name\":\"WordPress\u4e2d\u6587\",\"url\":\"https:\/\/wpeyes.com\/wordpress\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/wpeyes.com\/wordpress\/wp-content\/uploads\/sites\/8\/2024\/01\/WordPress-logotype-wmark-white.png\",\"contentUrl\":\"https:\/\/wpeyes.com\/wordpress\/wp-content\/uploads\/sites\/8\/2024\/01\/WordPress-logotype-wmark-white.png\",\"width\":1000,\"height\":1000,\"caption\":\"WordPress\u4e2d\u6587\"},\"image\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#\/schema\/person\/80e9903d893da74eb372a4c631f6e22c\",\"name\":\"qmk\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b6009682ec6e3b4264f67fa0e1da275c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b6009682ec6e3b4264f67fa0e1da275c?s=96&d=mm&r=g\",\"caption\":\"qmk\"},\"sameAs\":[\"https:\/\/wpeyes.com\"],\"url\":\"https:\/\/wpeyes.com\/wordpress\/archives\/author\/qmk\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5982\u4f55\u5141\u8bb8\u7528\u6237\u5728 WordPress \u4e2d\u53d1\u8868\u533f\u540d\u8bc4\u8bba - WordPress\u4e2d\u6587","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wpeyes.com\/wordpress\/archives\/7509","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u5141\u8bb8\u7528\u6237\u5728 WordPress \u4e2d\u53d1\u8868\u533f\u540d\u8bc4\u8bba - WordPress\u4e2d\u6587","og_description":"\u60a8\u60f3\u5141\u8bb8\u7528\u6237\u5728 WordPress \u4e2d\u53d1\u8868\u533f\u540d\u8bc4\u8bba\u5417\uff1f \u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5982\u679c\u7528\u6237\u672a\u5728\u8bc4\u8bba\u8868\u5355\u4e2d\u63d0\u4f9b\u59d3\u540d\u548c\u7535\u5b50\u90ae\u4ef6\u5730 &hellip; \u5982\u4f55\u5141\u8bb8\u7528\u6237\u5728 WordPress \u4e2d\u53d1\u8868\u533f\u540d\u8bc4\u8bba Read More \u00bb","og_url":"https:\/\/wpeyes.com\/wordpress\/archives\/7509","og_site_name":"WordPress\u4e2d\u6587","article_published_time":"2023-12-06T09:47:24+00:00","article_modified_time":"2023-12-06T09:48:55+00:00","og_image":[{"url":"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2014\/03\/how-to-allow-users-to-post-anonymous-comments-in-wordpress-thumb.png"}],"author":"qmk","twitter_card":"summary_large_image","twitter_image":"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2014\/03\/how-to-allow-users-to-post-anonymous-comments-in-wordpress-thumb.png","twitter_misc":{"\u4f5c\u8005":"qmk","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/wpeyes.com\/wordpress\/archives\/7509#article","isPartOf":{"@id":"https:\/\/wpeyes.com\/wordpress\/archives\/7509"},"author":{"name":"qmk","@id":"https:\/\/wpeyes.com\/wordpress\/#\/schema\/person\/80e9903d893da74eb372a4c631f6e22c"},"headline":"\u5982\u4f55\u5141\u8bb8\u7528\u6237\u5728 WordPress \u4e2d\u53d1\u8868\u533f\u540d\u8bc4\u8bba","datePublished":"2023-12-06T09:47:24+00:00","dateModified":"2023-12-06T09:48:55+00:00","mainEntityOfPage":{"@id":"https:\/\/wpeyes.com\/wordpress\/archives\/7509"},"wordCount":68,"commentCount":0,"publisher":{"@id":"https:\/\/wpeyes.com\/wordpress\/#organization"},"articleSection":["\u6700\u4f73\u6559\u7a0b"],"inLanguage":"zh-CN","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/wpeyes.com\/wordpress\/archives\/7509#respond"]}]},{"@type":"WebPage","@id":"https:\/\/wpeyes.com\/wordpress\/archives\/7509","url":"https:\/\/wpeyes.com\/wordpress\/archives\/7509","name":"\u5982\u4f55\u5141\u8bb8\u7528\u6237\u5728 WordPress \u4e2d\u53d1\u8868\u533f\u540d\u8bc4\u8bba - WordPress\u4e2d\u6587","isPartOf":{"@id":"https:\/\/wpeyes.com\/wordpress\/#website"},"datePublished":"2023-12-06T09:47:24+00:00","dateModified":"2023-12-06T09:48:55+00:00","breadcrumb":{"@id":"https:\/\/wpeyes.com\/wordpress\/archives\/7509#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpeyes.com\/wordpress\/archives\/7509"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wpeyes.com\/wordpress\/archives\/7509#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/wpeyes.com\/wordpress\/"},{"@type":"ListItem","position":2,"name":"\u535a\u6587","item":"https:\/\/wpeyes.com\/wordpress\/archives\/category\/web-article"},{"@type":"ListItem","position":3,"name":"wpbeginner","item":"https:\/\/wpeyes.com\/wordpress\/archives\/category\/web-article\/wpbeginner"},{"@type":"ListItem","position":4,"name":"\u6700\u4f73\u6559\u7a0b","item":"https:\/\/wpeyes.com\/wordpress\/archives\/category\/web-article\/wpbeginner\/tutorials"},{"@type":"ListItem","position":5,"name":"\u5982\u4f55\u5141\u8bb8\u7528\u6237\u5728 WordPress \u4e2d\u53d1\u8868\u533f\u540d\u8bc4\u8bba"}]},{"@type":"WebSite","@id":"https:\/\/wpeyes.com\/wordpress\/#website","url":"https:\/\/wpeyes.com\/wordpress\/","name":"WordPress\u4e2d\u6587","description":"wpeyes\u6280\u672f\u89c6\u70b9","publisher":{"@id":"https:\/\/wpeyes.com\/wordpress\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpeyes.com\/wordpress\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-CN"},{"@type":"Organization","@id":"https:\/\/wpeyes.com\/wordpress\/#organization","name":"WordPress\u4e2d\u6587","url":"https:\/\/wpeyes.com\/wordpress\/","logo":{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/wpeyes.com\/wordpress\/#\/schema\/logo\/image\/","url":"https:\/\/wpeyes.com\/wordpress\/wp-content\/uploads\/sites\/8\/2024\/01\/WordPress-logotype-wmark-white.png","contentUrl":"https:\/\/wpeyes.com\/wordpress\/wp-content\/uploads\/sites\/8\/2024\/01\/WordPress-logotype-wmark-white.png","width":1000,"height":1000,"caption":"WordPress\u4e2d\u6587"},"image":{"@id":"https:\/\/wpeyes.com\/wordpress\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/wpeyes.com\/wordpress\/#\/schema\/person\/80e9903d893da74eb372a4c631f6e22c","name":"qmk","image":{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/wpeyes.com\/wordpress\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b6009682ec6e3b4264f67fa0e1da275c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b6009682ec6e3b4264f67fa0e1da275c?s=96&d=mm&r=g","caption":"qmk"},"sameAs":["https:\/\/wpeyes.com"],"url":"https:\/\/wpeyes.com\/wordpress\/archives\/author\/qmk"}]}},"uagb_featured_image_src":{"full":["https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2014\/03\/how-to-allow-users-to-post-anonymous-comments-in-wordpress-thumb.png",250,250,false],"thumbnail":["https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2014\/03\/how-to-allow-users-to-post-anonymous-comments-in-wordpress-thumb.png",150,150,false],"medium":["https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2014\/03\/how-to-allow-users-to-post-anonymous-comments-in-wordpress-thumb.png",250,250,false],"medium_large":["https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2014\/03\/how-to-allow-users-to-post-anonymous-comments-in-wordpress-thumb.png",250,250,false],"large":["https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2014\/03\/how-to-allow-users-to-post-anonymous-comments-in-wordpress-thumb.png",250,250,false],"1536x1536":["https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2014\/03\/how-to-allow-users-to-post-anonymous-comments-in-wordpress-thumb.png",250,250,false],"2048x2048":["https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2014\/03\/how-to-allow-users-to-post-anonymous-comments-in-wordpress-thumb.png",250,250,false]},"uagb_author_info":{"display_name":"qmk","author_link":"https:\/\/wpeyes.com\/wordpress\/archives\/author\/qmk"},"uagb_comment_info":2,"uagb_excerpt":"\u60a8\u60f3\u5141\u8bb8\u7528\u6237\u5728 WordPress \u4e2d\u53d1\u8868\u533f\u540d\u8bc4\u8bba\u5417\uff1f \u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5982\u679c\u7528\u6237\u672a\u5728\u8bc4\u8bba\u8868\u5355\u4e2d\u63d0\u4f9b\u59d3\u540d\u548c\u7535\u5b50\u90ae\u4ef6\u5730&hellip;","_links":{"self":[{"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/posts\/7509"}],"collection":[{"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/comments?post=7509"}],"version-history":[{"count":1,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/posts\/7509\/revisions"}],"predecessor-version":[{"id":7510,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/posts\/7509\/revisions\/7510"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/media\/7511"}],"wp:attachment":[{"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/media?parent=7509"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/categories?post=7509"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/tags?post=7509"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}