{"id":4307,"date":"2023-11-11T12:03:28","date_gmt":"2023-11-11T04:03:28","guid":{"rendered":"https:\/\/wpeyes.com\/wordpress\/?p=4307"},"modified":"2023-11-11T12:26:14","modified_gmt":"2023-11-11T04:26:14","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8-wordpress-%e4%b8%ad%e7%aa%81%e5%87%ba%e6%98%be%e7%a4%ba%e4%bd%9c%e8%80%85%e7%9a%84%e8%af%84%e8%ae%ba","status":"publish","type":"post","link":"https:\/\/wpeyes.com\/wordpress\/archives\/4307","title":{"rendered":"\u5982\u4f55\u5728 WordPress \u4e2d\u7a81\u51fa\u663e\u793a\u4f5c\u8005\u7684\u8bc4\u8bba"},"content":{"rendered":"\n<p>\u60a8\u60f3\u5728\u60a8\u7f51\u7ad9\u4e0a\u7684 WordPress \u5e16\u5b50\u4e2d\u7a81\u51fa\u663e\u793a\u4f5c\u8005\u7684\u8bc4\u8bba\u5417\uff1f<\/p>\n\n\n\n<p>\u5728 WordPress \u535a\u5ba2\u4e2d\u7a81\u51fa\u663e\u793a\u4f5c\u8005\u7684\u8bc4\u8bba\u53ef\u4ee5\u5e2e\u52a9\u60a8\u5efa\u7acb\u53c2\u4e0e\u5ea6\u3002\u5f53\u7528\u6237\u770b\u5230\u4f5c\u8005\u79ef\u6781\u53c2\u4e0e\u8ba8\u8bba\u65f6\uff0c\u4ed6\u4eec\u66f4\u6709\u53ef\u80fd\u53d1\u8868\u8bc4\u8bba\u3002<\/p>\n\n\n\n<p>\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u5411\u60a8\u5c55\u793a\u5982\u4f55\u5728 WordPress \u4e2d\u8f7b\u677e\u7a81\u51fa\u663e\u793a\u4f5c\u8005\u7684\u8bc4\u8bba\u4ee5\u63d0\u9ad8\u53c2\u4e0e\u5ea6\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/03\/highlightauthorcomments-og.png\" alt=\"\u5728 WordPress \u535a\u5ba2\u6587\u7ae0\u4e2d\u9ad8\u4eae\u4f5c\u8005\u7684\u8bc4\u8bba\" class=\"wp-image-91645\" title=\"\u5728 WordPress \u535a\u5ba2\u6587\u7ae0\u4e2d\u9ad8\u4eae\u4f5c\u8005\u7684\u8bc4\u8bba\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">\u4e3a\u4ec0\u4e48\u5728 WordPress \u4e2d\u7a81\u51fa\u663e\u793a\u4f5c\u8005\u7684\u8bc4\u8bba\uff1f<\/h4>\n\n\n\n<p>\u8bc4\u8bba\u662f\u5728\u60a8\u7684\u7f51\u7ad9\u4e0a\u5efa\u7acb\u7528\u6237\u53c2\u4e0e\u5ea6\u7684\u597d\u65b9\u6cd5\u3002\u5982\u679c\u60a8\u60f3<a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/11-ways-to-get-more-comments-on-your-wordpress-blog-posts\/\">\u83b7\u5f97\u66f4\u591a\u5bf9\u60a8\u7684\u6587\u7ae0\u7684\u8bc4\u8bba<\/a>\uff0c\u90a3\u4e48\u60a8\u53ef\u4ee5\u901a\u8fc7\u79ef\u6781\u53c2\u4e0e\u8ba8\u8bba\u6765\u9f13\u52b1\u8fd9\u4e00\u70b9\u3002<\/p>\n\n\n\n<p>\u5bf9\u4e8e<a href=\"https:\/\/www.wpbeginner.com\/start-a-wordpress-blog\/\">\u65b0\u7684 WordPress \u535a\u5ba2<\/a>\uff0c\u60a8\u53ef\u4ee5\u5728\u8bc4\u8bba\u5ba1\u6838\u671f\u95f4\u8f7b\u677e\u56de\u590d\u8bc4\u8bba\u3002\u5982\u679c\u60a8\u7ecf\u8425\u4e00\u4e2a<a href=\"https:\/\/www.wpbeginner.com\/plugins\/21-great-plugins-to-manage-multi-author-blogs-efficiently-and-successfully\/\">\u591a\u4f5c\u8005\u535a\u5ba2<\/a>\uff0c\u90a3\u4e48\u60a8\u4e5f\u53ef\u4ee5\u9f13\u52b1\u4f5c\u8005\u53c2\u4e0e\u8ba8\u8bba\u3002<\/p>\n\n\n\n<p>\u7136\u800c\uff0c\u5927\u591a\u6570 WordPress \u4e3b\u9898\u4e0d\u533a\u5206\u8bc4\u8bba\u5e76\u4f7f\u7528\u76f8\u540c\u7684\u6837\u5f0f\u5217\u51fa\u5b83\u4eec\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/03\/regularcomments-layout.png\" alt=\"\u5e38\u89c4\u8bc4\u8bba\u5e03\u5c40\uff0c\u6ca1\u6709\u4f5c\u8005\u7a81\u51fa\u663e\u793a\" class=\"wp-image-91634\" title=\"\u5e38\u89c4\u8bc4\u8bba\u5e03\u5c40\uff0c\u6ca1\u6709\u4f5c\u8005\u7a81\u51fa\u663e\u793a\"\/><\/figure>\n\n\n\n<p>\u968f\u610f\u7684\u8bfb\u8005\u53ef\u80fd\u4f1a\u6eda\u52a8\u6d4f\u89c8\u8bc4\u8bba\uff0c\u800c\u6ca1\u6709\u610f\u8bc6\u5230\u4f5c\u8005\u5728\u8ba8\u8bba\u4e2d\u8d21\u732e\u7684\u9644\u52a0\u5185\u5bb9\u3002<\/p>\n\n\n\n<p>\u7a81\u51fa\u663e\u793a\u4f5c\u8005\u7684\u8bc4\u8bba\u53ef\u4ee5\u5e2e\u52a9\u60a8\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u5e76\u4f7f\u4f5c\u8005\u7684\u8bc4\u8bba\u8131\u9896\u800c\u51fa\u5e76\u66f4\u52a0\u5f15\u4eba\u6ce8\u76ee\u3002<\/p>\n\n\n\n<p>\u8fd9\u91cc\u7684\u6700\u7ec8\u76ee\u6807\u662f\u9f13\u52b1\u65b0\u7528\u6237\u52a0\u5165\u8bc4\u8bba\u5e76\u6700\u7ec8<a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/how-to-create-an-email-newsletter\/\">\u8ba2\u9605\u60a8\u7684\u65b0\u95fb\u901a\u8baf<\/a>\u6216\u6210\u4e3a\u5ba2\u6237\u3002<\/p>\n\n\n\n<p>\u8bdd\u867d\u8fd9\u4e48\u8bf4\uff0c\u8ba9\u6211\u4eec\u770b\u770b\u5982\u4f55\u5728 WordPress \u4e2d\u8f7b\u677e\u7a81\u51fa\u663e\u793a\u4f5c\u8005\u8bc4\u8bba\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u5728 WordPress \u4e2d\u7a81\u51fa\u663e\u793a\u8bc4\u8bba\u4f5c\u8005<\/h4>\n\n\n\n<p>\u7a81\u51fa\u663e\u793a\u5e16\u5b50\u4f5c\u8005\u8bc4\u8bba\u7684\u6700\u7b80\u5355\u65b9\u6cd5\u662f\u5c06<a href=\"https:\/\/www.wpbeginner.com\/plugins\/how-to-easily-add-custom-css-to-your-wordpress-site\/\">\u81ea\u5b9a\u4e49 CSS \u6dfb\u52a0<\/a>\u5230\u60a8\u7684 WordPress \u4e3b\u9898\u3002\u8fd9\u4f7f\u60a8\u53ef\u4ee5\u8f7b\u677e\u6dfb\u52a0\u6240\u9700\u7684\u4ee3\u7801\uff0c\u5e76\u5b9e\u65f6\u9884\u89c8\u5b83\u5728\u60a8\u7f51\u7ad9\u4e0a\u7684\u5916\u89c2\uff0c\u800c\u65e0\u9700\u4fdd\u5b58\u3002<\/p>\n\n\n\n<p>\u9996\u5148\uff0c\u60a8\u9700\u8981\u8bbf\u95eeWordPress \u7ba1\u7406\u533a\u57df\u4e2d\u7684<strong>\u5916\u89c2 \u00bb \u81ea\u5b9a\u4e49<\/strong>\u3002\u8fd9\u5c06\u542f\u52a8<a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/how-to-use-wordpress-theme-customizer\/\">WordPress \u4e3b\u9898\u5b9a\u5236\u5668<\/a>\u754c\u9762\u3002\u60a8\u4f1a\u6ce8\u610f\u5230\u5de6\u4fa7\u7684\u4e00\u680f\u4e2d\u6709\u5f88\u591a\u9009\u9879\u4ee5\u53ca\u7f51\u7ad9\u7684\u5b9e\u65f6\u9884\u89c8\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/03\/themecustomizer.jpg\" alt=\"WordPress \u4e2d\u7684\u4e3b\u9898\u5b9a\u5236\u5668\" class=\"wp-image-91635\" title=\"WordPress \u4e2d\u7684\u4e3b\u9898\u5b9a\u5236\u5668\"\/><\/figure>\n\n\n\n<p>\u4ece\u8fd9\u91cc\uff0c\u60a8\u9700\u8981\u5355\u51fb\u201c\u9644\u52a0 CSS\u201d\u9009\u9879\u5361\u3002\u8fd9\u5c06\u6253\u5f00\u4e00\u4e2a\u6587\u672c\u533a\u57df\uff0c\u60a8\u5c06\u5728\u5176\u4e2d\u6dfb\u52a0\u81ea\u5b9a\u4e49 CSS\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/03\/additionalcsstab.png\" alt=\"\u9644\u52a0 CSS \u9009\u9879\u5361\" class=\"wp-image-91636\" title=\"\u9644\u52a0 CSS \u9009\u9879\u5361\"\/><\/figure>\n\n\n\n<p>\u4f46\u662f\uff0c\u60a8\u53ef\u80fd\u5e0c\u671b\u4e86\u89e3\u5e94\u7528\u81ea\u5b9a\u4e49 CSS \u540e\u7684\u5916\u89c2\u3002\u4e3a\u6b64\uff0c\u60a8\u9700\u8981\u5bfc\u822a\u5230\u5305\u542b\u5e16\u5b50\u4f5c\u8005\u8bc4\u8bba\u7684\u535a\u5ba2\u6587\u7ae0\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/03\/customizer-view-comments.png\" alt=\"\u5728\u4e3b\u9898\u5b9a\u5236\u5668\u4e2d\u67e5\u770b\u8bc4\u8bba\" class=\"wp-image-91637\" title=\"\u5728\u4e3b\u9898\u5b9a\u5236\u5668\u4e2d\u67e5\u770b\u8bc4\u8bba\"\/><\/figure>\n\n\n\n<p>\u5411\u4e0b\u6eda\u52a8\u5230\u8bc4\u8bba\u90e8\u5206\uff0c\u7136\u540e\u5728\u5de6\u4fa7\u7684\u81ea\u5b9a\u4e49 CSS \u6846\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u81ea\u5b9a\u4e49 CSS\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>123<\/td><td><code>.bypostauthor { <\/code><code>background-color<\/code><code>: <\/code><code>#e7f8fb<\/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>\u60a8\u4f1a\u7acb\u5373\u6ce8\u610f\u5230\u4f5c\u8005\u8bc4\u8bba\u66f4\u6539\u4e0e\u60a8\u8f93\u5165\u7684\u81ea\u5b9a\u4e49 CSS \u76f8\u5339\u914d\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/03\/highlightauthorcsspreview.png\" alt=\"\u4f5c\u8005\u7684\u8bc4\u8bba\u4ee5\u4e0d\u540c\u7684\u80cc\u666f\u989c\u8272\u7a81\u51fa\u663e\u793a\" class=\"wp-image-91638\" title=\"\u4f5c\u8005\u7684\u8bc4\u8bba\u4ee5\u4e0d\u540c\u7684\u80cc\u666f\u989c\u8272\u7a81\u51fa\u663e\u793a\"\/><\/figure>\n\n\n\n<p>\u90a3\u4e48\u8fd9\u4e00\u5207\u662f\u5982\u4f55\u8fd0\u4f5c\u7684\u5462\uff1f<\/p>\n\n\n\n<p>\u60a8\u4f1a\u770b\u5230 WordPress\u5411\u7f51\u7ad9\u7684\u4e0d\u540c\u533a\u57df\u6dfb\u52a0\u4e86\u4e00\u4e9b<a href=\"https:\/\/www.wpbeginner.com\/wp-themes\/default-wordpress-generated-css-cheat-sheet-for-beginners\/\">\u9ed8\u8ba4 CSS \u7c7b\u3002<\/a>\u65e0\u8bba\u60a8\u4f7f\u7528\u54ea\u4e2a WordPress \u4e3b\u9898\uff0c\u8fd9\u4e9b CSS \u7c7b\u90fd\u4f1a\u5b58\u5728\u3002<\/p>\n\n\n\n<p>\u5728\u6b64\u793a\u4f8b\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u4e86<code>.bypostauthor<\/code>CSS \u7c7b\uff0c\u8be5\u7c7b\u88ab\u6dfb\u52a0\u5230\u5e16\u5b50\u4f5c\u8005\u6dfb\u52a0\u7684\u6240\u6709\u8bc4\u8bba\u4e2d\u3002<\/p>\n\n\n\n<p>\u8ba9\u6211\u4eec\u6dfb\u52a0\u66f4\u591a CSS \u6837\u5f0f\u4ee5\u4f7f\u5176\u66f4\u52a0\u7a81\u51fa\u3002<a href=\"https:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-change-the-default-gravatar-on-wordpress\/\">\u4e0b\u9762\u662f\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\uff0c\u5b83\u5c06\u4e00\u4e2a\u5c0f\u7684\u201c\u4f5c\u8005\u201d\u6807\u7b7e\u6dfb\u52a0\u5230\u5e16\u5b50\u4f5c\u8005\u7684\u8bc4\u8bba\u4e2d\uff0c\u5e76\u5728\u4f5c\u8005\u7684\u5934\u50cf\u56fe\u50cf<\/a>\u5468\u56f4\u6dfb\u52a0\u8fb9\u6846\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>123456789101112<\/td><td><code>.bypostauthor:before { <\/code><code>content<\/code><code>:<\/code><code>\"Author\"<\/code><code>;<\/code><code>float<\/code><code>:<\/code><code>right<\/code><code>;<\/code><code>background-color<\/code><code>:<\/code><code>#FF1100<\/code><code>;<\/code><code>padding<\/code><code>:<\/code><code>5px<\/code><code>;<\/code><code>font-size<\/code><code>:<\/code><code>small<\/code><code>;<\/code><code>font-weight<\/code><code>:<\/code><code>bold<\/code><code>;<\/code><code>color<\/code><code>:<\/code><code>#FFFFFF<\/code><code>;<\/code><code>}<\/code><code>.bypostauthor .avatar {<\/code><code>border<\/code><code>:<\/code><code>1px<\/code><code>dotted<\/code><code>#FF1100<\/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>\u8fd9\u5c31\u662f\u5b83\u5728\u6211\u4eec\u7684\u6d4b\u8bd5\u7f51\u7ad9\u4e0a\u7684\u6837\u5b50\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/03\/comment-author-highlight-final.png\" alt=\"\u8bc4\u8bba\u4f5c\u8005\u7528\u4f5c\u8005\u6807\u7b7e\u7a81\u51fa\u663e\u793a\" class=\"wp-image-91639\" title=\"\u8bc4\u8bba\u4f5c\u8005\u7528\u4f5c\u8005\u6807\u7b7e\u7a81\u51fa\u663e\u793a\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">\u5728 WordPress \u4e2d\u6309\u7528\u6237\u89d2\u8272\u7a81\u51fa\u663e\u793a\u8bc4\u8bba<\/h4>\n\n\n\n<p>\u73b0\u5728\uff0c\u8bb8\u591a WordPress \u535a\u5ba2\u90fd\u6709\u56e2\u961f\u6210\u5458\u8d1f\u8d23\u56de\u590d\u8bc4\u8bba\u3002\u70ed\u95e8\u7f51\u7ad9\u53ef\u80fd\u4f1a\u6709\u5e16\u5b50\u4f5c\u8005\u3001\u7ba1\u7406\u5458\u548c\u7248\u4e3b\u5168\u90e8\u56de\u590d\u8bc4\u8bba\u4ee5\u63d0\u9ad8\u7528\u6237\u53c2\u4e0e\u5ea6\u3002<\/p>\n\n\n\n<p>\u5982\u4f55\u7a81\u51fa\u663e\u793a\u975e\u5e16\u5b50\u5b9e\u9645\u4f5c\u8005\u7684\u5de5\u4f5c\u4eba\u5458\u6dfb\u52a0\u7684\u8bc4\u8bba\uff1f<\/p>\n\n\n\n<p>\u6709\u4e00\u4e2a\u7b80\u5355\u7684\u6280\u5de7\u53ef\u4ee5\u5b9e\u73b0\u8fd9\u4e00\u70b9\u3002\u4f46\u662f\uff0c\u5b83\u8981\u6c42\u60a8\u5c06\u81ea\u5b9a\u4e49\u4ee3\u7801\u6dfb\u52a0\u5230\u60a8\u7684 WordPress \u7f51\u7ad9\u3002\u5982\u679c\u60a8\u4ee5\u524d\u6ca1\u6709\u8fd9\u6837\u505a\u8fc7\uff0c\u8bf7\u53c2\u9605\u6211\u4eec\u5173\u4e8e<a href=\"https:\/\/www.wpbeginner.com\/plugins\/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site\/\">\u5982\u4f55\u5728 WordPress \u4e2d\u8f7b\u677e\u6dfb\u52a0\u81ea\u5b9a\u4e49\u4ee3\u7801\u7684<\/a>\u6587\u7ae0\u3002<\/p>\n\n\n\n<p>\u9996\u5148\uff0c\u60a8\u9700\u8981\u5c06\u4ee5\u4e0b\u4ee3\u7801\u6dfb\u52a0\u5230\u4ee3\u7801\u7247\u6bb5\u63d2\u4ef6\uff0c\u4f8b\u5982<a href=\"https:\/\/wordpress.org\/plugins\/insert-headers-and-footers\" target=\"_blank\" rel=\"noreferrer noopener\">WPCode<\/a>\uff08\u63a8\u8350\uff09\u6216\u4e3b\u9898\u7684<a href=\"http:\/\/www.wpbeginner.com\/glossary\/functions-php\/\">functions.php<\/a>\u6587\u4ef6\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1234567891011121314151617 \u53f7181920212223242526272829<\/td><td><code>if<\/code><code>( ! <\/code><code>class_exists<\/code><code>( <\/code><code>'WPB_Comment_Author_Role_Label'<\/code><code>) ) :<\/code><code>class<\/code><code>WPB_Comment_Author_Role_Label {<\/code><code>public<\/code><code>function<\/code><code>__construct() {<\/code><code>add_filter( <\/code><code>'get_comment_author'<\/code><code>, <\/code><code>array<\/code><code>( <\/code><code>$this<\/code><code>, <\/code><code>'wpb_get_comment_author_role'<\/code><code>), 10, 3 );<\/code><code>add_filter( <\/code><code>'get_comment_author_link'<\/code><code>, <\/code><code>array<\/code><code>( <\/code><code>$this<\/code><code>, <\/code><code>'wpb_comment_author_role'<\/code><code>) );<\/code><code>}<\/code><code>&nbsp;&nbsp;<\/code><code>\/\/ Get comment author role <\/code><code>function<\/code><code>wpb_get_comment_author_role(<\/code><code>$author<\/code><code>, <\/code><code>$comment_id<\/code><code>, <\/code><code>$comment<\/code><code>) { <\/code><code>$authoremail<\/code><code>= get_comment_author_email( <\/code><code>$comment<\/code><code>); <\/code><code>\/\/ Check if user is registered<\/code><code>if<\/code><code>(email_exists(<\/code><code>$authoremail<\/code><code>)) {<\/code><code>$commet_user_role<\/code><code>= get_user_by( <\/code><code>'email'<\/code><code>, <\/code><code>$authoremail<\/code><code>);<\/code><code>$comment_user_role<\/code><code>= <\/code><code>$commet_user_role<\/code><code>-&gt;roles[0];<\/code><code>\/\/ HTML output to add next to comment author name<\/code><code>$this<\/code><code>-&gt;comment_user_role = <\/code><code>' &lt;span class=\"comment-author-label comment-author-label-'<\/code><code>.<\/code><code>$comment_user_role<\/code><code>.<\/code><code>'\"&gt;'<\/code><code>. ucfirst(<\/code><code>$comment_user_role<\/code><code>) . <\/code><code>'&lt;\/span&gt;'<\/code><code>;<\/code><code>} <\/code><code>else<\/code><code>{ <\/code><code>$this<\/code><code>-&gt;comment_user_role = <\/code><code>''<\/code><code>;<\/code><code>} <\/code><code>return<\/code><code>$author<\/code><code>;<\/code><code>} <\/code><code>&nbsp;&nbsp;<\/code><code>\/\/ Display comment author&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/code><code>function<\/code><code>wpb_comment_author_role(<\/code><code>$author<\/code><code>) { <\/code><code>return<\/code><code>$author<\/code><code>.= <\/code><code>$this<\/code><code>-&gt;comment_user_role; <\/code><code>} <\/code><code>}<\/code><code>new<\/code><code>WPB_Comment_Author_Role_Label;<\/code><code>endif<\/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>\u6b64\u4ee3\u7801\u53ea\u662f\u5728\u8bc4\u8bba\u4f5c\u8005\u59d3\u540d\u65c1\u8fb9\u6dfb\u52a0\u7528\u6237\u89d2\u8272\u6807\u7b7e\u3002\u8fd9\u5c31\u662f\u6ca1\u6709\u4efb\u4f55\u81ea\u5b9a\u4e49\u6837\u5f0f\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\/2021\/03\/user-role-labeled.png\" alt=\"\u6dfb\u52a0\u5230\u8bc4\u8bba\u7684\u7528\u6237\u89d2\u8272\u6807\u7b7e\" class=\"wp-image-91640\" title=\"\u6dfb\u52a0\u5230\u8bc4\u8bba\u7684\u7528\u6237\u89d2\u8272\u6807\u7b7e\"\/><\/figure>\n\n\n\n<p>\u8ba9\u6211\u4eec\u901a\u8fc7\u6dfb\u52a0\u4e00\u4e9b\u81ea\u5b9a\u4e49 CSS \u4f7f\u5176\u53d8\u5f97\u66f4\u6f02\u4eae\u4e00\u4e9b\u3002\u8f6c\u5230<strong>\u5916\u89c2\u00bb\u81ea\u5b9a\u4e49<\/strong>\u9875\u9762\u5e76\u5207\u6362\u5230\u5176\u4ed6 CSS \u9009\u9879\u5361\u3002<\/p>\n\n\n\n<p>\u4e4b\u540e\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b CSS \u6765\u8bbe\u7f6e\u6ce8\u91ca\u4e2d\u7528\u6237\u89d2\u8272\u6807\u7b7e\u7684\u6837\u5f0f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1234567891011121314151617 \u53f7181920212223<\/td><td><code>.comment-author-label {<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>padding<\/code><code>: <\/code><code>5px<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>font-size<\/code><code>: <\/code><code>14px<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>border-radius<\/code><code>: <\/code><code>3px<\/code><code>;<\/code><code>}<\/code><code>&nbsp;&nbsp;<\/code><code>.comment-author-label-editor {&nbsp; <\/code><code>background-color<\/code><code>:<\/code><code>#efefef<\/code><code>;<\/code><code>}<\/code><code>.comment-author-label-author {<\/code><code>background-color<\/code><code>:<\/code><code>#faeeee<\/code><code>;<\/code><code>}<\/code><code>&nbsp;&nbsp;<\/code><code>.comment-author-label-contributor {<\/code><code>background-color<\/code><code>:<\/code><code>#f0faee<\/code><code>;&nbsp;&nbsp; <\/code><code>}<\/code><code>.comment-author-label-subscriber {<\/code><code>background-color<\/code><code>:<\/code><code>#eef5fa<\/code><code>;&nbsp;&nbsp; <\/code><code>}<\/code><code>&nbsp;&nbsp;<\/code><code>.comment-author-label-administrator { <\/code><code>background-color<\/code><code>:<\/code><code>#fde9ff<\/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>\u8fd9\u5c31\u662f\u5b83\u5728\u6211\u4eec\u7684\u6d4b\u8bd5\u7ad9\u70b9\u4e0a\u7684\u6837\u5b50\u3002\u8bf7\u968f\u610f\u4fee\u6539\u4ee3\u7801\u4ee5\u5339\u914d\u60a8\u7684\u4e3b\u9898\u7684\u989c\u8272\u548c\u6837\u5f0f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/03\/user-role-highlighted.png\" alt=\"\u7a81\u51fa\u663e\u793a\u7528\u6237\u89d2\u8272\" class=\"wp-image-91648\" title=\"\u7a81\u51fa\u663e\u793a\u7528\u6237\u89d2\u8272\"\/><\/figure>\n\n\n\n<p>\u6709\u5173\u66f4\u591a\u8be6\u7ec6\u4fe1\u606f\uff0c\u60a8\u53ef\u80fd\u9700\u8981\u9605\u8bfb\u6211\u4eec\u5173\u4e8e\u5982\u4f55<a href=\"https:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-add-user-role-label-next-to-comments-in-wordpress\/\">\u5411 WordPress \u8bc4\u8bba\u6dfb\u52a0\u7528\u6237\u89d2\u8272\u6807\u7b7e\u7684<\/a>\u6587\u7ae0\u3002<\/p>\n\n\n\n<p>\u6211\u4eec\u5e0c\u671b\u672c\u6587\u80fd\u5e2e\u52a9\u60a8\u4e86\u89e3\u5982\u4f55\u5728 WordPress \u4e2d\u7a81\u51fa\u663e\u793a\u4f5c\u8005\u8bc4\u8bba\u3002\u60f3\u4e86\u89e3\u7528\u6237\u5982\u4f55\u4e0e\u60a8\u7684\u7f51\u7ad9\u4e92\u52a8\uff1f\u8bf7\u53c2\u9605\u6211\u4eec\u7684\u6559\u7a0b\uff0c\u4e86\u89e3<a href=\"https:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-track-user-engagement-in-wordpress-with-google-analytics\/\">\u5982\u4f55\u8ddf\u8e2a WordPress \u4e2d\u7684\u7528\u6237\u53c2\u4e0e\u5ea6<\/a>\uff0c\u4ee5\u53ca<a href=\"https:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-add-web-push-notification-to-your-wordpress-site\/\">\u5982\u4f55<\/a>\u5728 WordPress \u7f51\u7ad9\u4e0a\u6dfb\u52a0\u7f51\u7edc\u63a8\u9001\u901a\u77e5\u4ee5\u589e\u52a0\u6d41\u91cf\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u60a8\u60f3\u5728\u60a8\u7f51\u7ad9\u4e0a\u7684 WordPress \u5e16\u5b50\u4e2d\u7a81\u51fa\u663e\u793a\u4f5c\u8005\u7684\u8bc4\u8bba\u5417\uff1f \u5728 WordPress \u535a\u5ba2\u4e2d\u7a81\u51fa\u663e\u793a\u4f5c\u8005 &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/wpeyes.com\/wordpress\/archives\/4307\"> <span class=\"screen-reader-text\">\u5982\u4f55\u5728 WordPress \u4e2d\u7a81\u51fa\u663e\u793a\u4f5c\u8005\u7684\u8bc4\u8bba<\/span> Read More \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":4309,"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\u5728 WordPress \u4e2d\u7a81\u51fa\u663e\u793a\u4f5c\u8005\u7684\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\/4307\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u5728 WordPress \u4e2d\u7a81\u51fa\u663e\u793a\u4f5c\u8005\u7684\u8bc4\u8bba - WordPress\u4e2d\u6587\" \/>\n<meta property=\"og:description\" content=\"\u60a8\u60f3\u5728\u60a8\u7f51\u7ad9\u4e0a\u7684 WordPress \u5e16\u5b50\u4e2d\u7a81\u51fa\u663e\u793a\u4f5c\u8005\u7684\u8bc4\u8bba\u5417\uff1f \u5728 WordPress \u535a\u5ba2\u4e2d\u7a81\u51fa\u663e\u793a\u4f5c\u8005 &hellip; \u5982\u4f55\u5728 WordPress \u4e2d\u7a81\u51fa\u663e\u793a\u4f5c\u8005\u7684\u8bc4\u8bba Read More \u00bb\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpeyes.com\/wordpress\/archives\/4307\" \/>\n<meta property=\"og:site_name\" content=\"WordPress\u4e2d\u6587\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-11T04:03:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-11T04:26:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/03\/highlightauthorcomments-th.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\/2021\/03\/highlightauthorcomments-th.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\/4307#article\",\"isPartOf\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/archives\/4307\"},\"author\":{\"name\":\"qmk\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#\/schema\/person\/80e9903d893da74eb372a4c631f6e22c\"},\"headline\":\"\u5982\u4f55\u5728 WordPress \u4e2d\u7a81\u51fa\u663e\u793a\u4f5c\u8005\u7684\u8bc4\u8bba\",\"datePublished\":\"2023-11-11T04:03:28+00:00\",\"dateModified\":\"2023-11-11T04:26:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/archives\/4307\"},\"wordCount\":47,\"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\/4307#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/archives\/4307\",\"url\":\"https:\/\/wpeyes.com\/wordpress\/archives\/4307\",\"name\":\"\u5982\u4f55\u5728 WordPress \u4e2d\u7a81\u51fa\u663e\u793a\u4f5c\u8005\u7684\u8bc4\u8bba - WordPress\u4e2d\u6587\",\"isPartOf\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#website\"},\"datePublished\":\"2023-11-11T04:03:28+00:00\",\"dateModified\":\"2023-11-11T04:26:14+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/archives\/4307#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wpeyes.com\/wordpress\/archives\/4307\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/archives\/4307#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\u5728 WordPress \u4e2d\u7a81\u51fa\u663e\u793a\u4f5c\u8005\u7684\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\u5728 WordPress \u4e2d\u7a81\u51fa\u663e\u793a\u4f5c\u8005\u7684\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\/4307","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u5728 WordPress \u4e2d\u7a81\u51fa\u663e\u793a\u4f5c\u8005\u7684\u8bc4\u8bba - WordPress\u4e2d\u6587","og_description":"\u60a8\u60f3\u5728\u60a8\u7f51\u7ad9\u4e0a\u7684 WordPress \u5e16\u5b50\u4e2d\u7a81\u51fa\u663e\u793a\u4f5c\u8005\u7684\u8bc4\u8bba\u5417\uff1f \u5728 WordPress \u535a\u5ba2\u4e2d\u7a81\u51fa\u663e\u793a\u4f5c\u8005 &hellip; \u5982\u4f55\u5728 WordPress \u4e2d\u7a81\u51fa\u663e\u793a\u4f5c\u8005\u7684\u8bc4\u8bba Read More \u00bb","og_url":"https:\/\/wpeyes.com\/wordpress\/archives\/4307","og_site_name":"WordPress\u4e2d\u6587","article_published_time":"2023-11-11T04:03:28+00:00","article_modified_time":"2023-11-11T04:26:14+00:00","og_image":[{"url":"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/03\/highlightauthorcomments-th.png"}],"author":"qmk","twitter_card":"summary_large_image","twitter_image":"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/03\/highlightauthorcomments-th.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\/4307#article","isPartOf":{"@id":"https:\/\/wpeyes.com\/wordpress\/archives\/4307"},"author":{"name":"qmk","@id":"https:\/\/wpeyes.com\/wordpress\/#\/schema\/person\/80e9903d893da74eb372a4c631f6e22c"},"headline":"\u5982\u4f55\u5728 WordPress \u4e2d\u7a81\u51fa\u663e\u793a\u4f5c\u8005\u7684\u8bc4\u8bba","datePublished":"2023-11-11T04:03:28+00:00","dateModified":"2023-11-11T04:26:14+00:00","mainEntityOfPage":{"@id":"https:\/\/wpeyes.com\/wordpress\/archives\/4307"},"wordCount":47,"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\/4307#respond"]}]},{"@type":"WebPage","@id":"https:\/\/wpeyes.com\/wordpress\/archives\/4307","url":"https:\/\/wpeyes.com\/wordpress\/archives\/4307","name":"\u5982\u4f55\u5728 WordPress \u4e2d\u7a81\u51fa\u663e\u793a\u4f5c\u8005\u7684\u8bc4\u8bba - WordPress\u4e2d\u6587","isPartOf":{"@id":"https:\/\/wpeyes.com\/wordpress\/#website"},"datePublished":"2023-11-11T04:03:28+00:00","dateModified":"2023-11-11T04:26:14+00:00","breadcrumb":{"@id":"https:\/\/wpeyes.com\/wordpress\/archives\/4307#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpeyes.com\/wordpress\/archives\/4307"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wpeyes.com\/wordpress\/archives\/4307#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\u5728 WordPress \u4e2d\u7a81\u51fa\u663e\u793a\u4f5c\u8005\u7684\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\/2021\/03\/highlightauthorcomments-th.png",250,250,false],"thumbnail":["https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/03\/highlightauthorcomments-th.png",150,150,false],"medium":["https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/03\/highlightauthorcomments-th.png",250,250,false],"medium_large":["https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/03\/highlightauthorcomments-th.png",250,250,false],"large":["https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/03\/highlightauthorcomments-th.png",250,250,false],"1536x1536":["https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/03\/highlightauthorcomments-th.png",250,250,false],"2048x2048":["https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2021\/03\/highlightauthorcomments-th.png",250,250,false]},"uagb_author_info":{"display_name":"qmk","author_link":"https:\/\/wpeyes.com\/wordpress\/archives\/author\/qmk"},"uagb_comment_info":0,"uagb_excerpt":"\u60a8\u60f3\u5728\u60a8\u7f51\u7ad9\u4e0a\u7684 WordPress \u5e16\u5b50\u4e2d\u7a81\u51fa\u663e\u793a\u4f5c\u8005\u7684\u8bc4\u8bba\u5417\uff1f \u5728 WordPress \u535a\u5ba2\u4e2d\u7a81\u51fa\u663e\u793a\u4f5c\u8005&hellip;","_links":{"self":[{"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/posts\/4307"}],"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=4307"}],"version-history":[{"count":1,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/posts\/4307\/revisions"}],"predecessor-version":[{"id":4308,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/posts\/4307\/revisions\/4308"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/media\/4309"}],"wp:attachment":[{"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/media?parent=4307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/categories?post=4307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/tags?post=4307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}