{"id":3121,"date":"2023-10-23T12:49:40","date_gmt":"2023-10-23T04:49:40","guid":{"rendered":"https:\/\/wpeyes.com\/wordpress\/?p=3121"},"modified":"2023-10-23T12:49:54","modified_gmt":"2023-10-23T04:49:54","slug":"%e5%a6%82%e4%bd%95%e8%ae%be%e8%ae%a1-wordpress-%e8%af%84%e8%ae%ba%e5%b8%83%e5%b1%80","status":"publish","type":"post","link":"https:\/\/wpeyes.com\/wordpress\/archives\/3121","title":{"rendered":"\u5982\u4f55\u8bbe\u8ba1 WordPress \u8bc4\u8bba\u5e03\u5c40"},"content":{"rendered":"\n<p>\u6700\u8fd1\u6211\u4eec\u5411\u60a8\u5c55\u793a\u4e86<a href=\"https:\/\/www.wpbeginner.com\/wp-themes\/how-to-style-wordpress-comment-form\/\">\u5982\u4f55\u8bbe\u8ba1 WordPress \u8bc4\u8bba\u8868\u5355<\/a>\uff0c\u6211\u4eec\u8ba4\u4e3a\u5982\u679c\u6211\u4eec\u4e0d\u5199\u6709\u5173\u8bbe\u8ba1 WordPress \u8bc4\u8bba\u5e03\u5c40\u7684\u6837\u5f0f\uff0c\u90a3\u4e48\u5b83\u5c31\u662f\u4e0d\u5b8c\u6574\u7684\u3002\u8fc7\u53bb\uff0c\u6211\u4eec\u8ba8\u8bba\u8fc7<a href=\"https:\/\/www.wpbeginner.com\/wp-themes\/default-wordpress-generated-css-cheat-sheet-for-beginners\/\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress \u9ed8\u8ba4\u751f\u6210 CSS \u7c7b\u548c ID\uff0c<\/a>\u4ee5\u5e2e\u52a9\u4e3b\u9898\u8bbe\u8ba1\u8005\u66f4\u8f7b\u677e\u5730\u8bbe\u8ba1\u6a21\u677f\u7684\u6837\u5f0f\u3002\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u4f7f\u7528\u8fd9\u4e9b\u9ed8\u8ba4\u7c7b\u5411\u60a8\u5c55\u793a\u5982\u4f55\u8bbe\u7f6e WordPress \u8bc4\u8bba\u5e03\u5c40\u7684\u6837\u5f0f\u4ee5\u53ca\u60a8\u53ef\u4ee5\u7528\u5b83\u505a\u7684\u4e00\u4e9b\u5f88\u9177\u7684\u4e8b\u60c5\u3002<\/p>\n\n\n\n<p>\u4e3a\u4e86\u8fd9\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u5728\u672c\u6587\u4e2d\u4fee\u6539\u9ed8\u8ba4\u7684\u4e8c\u5341\u4e00\u5341\u4e8c WordPress \u4e3b\u9898\u3002\u6ce8\u610f\uff1a\u672c\u6587\u9002\u7528\u4e8e\u5bf9 HTML \u548c CSS \u6709\u4e00\u5b9a\u4e86\u89e3\u7684\u521d\u7ea7\u4e3b\u9898\u8bbe\u8ba1\u5e08\u548c DIY \u7528\u6237\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u9ed8\u8ba4 WordPress \u8bc4\u8bba\u7c7b<\/h4>\n\n\n\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cWordPress \u4f1a\u4e3a\u8bc4\u8bba\u6a21\u677f\u4e2d\u7684\u5143\u7d20\u751f\u6210\u8fd9\u4e9b\u7c7b\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1234567891011121314151617 \u53f71819202122232425262728293031323334353637383940414243444546474849<\/td><td><code>\/*Comment Output*\/<\/code><code>.commentlist .reply {}<\/code><code>.commentlist .reply a {}<\/code><code>.commentlist .alt {}<\/code><code>.commentlist .odd {}<\/code><code>.commentlist .even {}<\/code><code>.commentlist .thread-alt {}<\/code><code>.commentlist .thread-odd {}<\/code><code>.commentlist .thread-even {}<\/code><code>.commentlist li ul.children .alt {}<\/code><code>.commentlist li ul.children .odd {}<\/code><code>.commentlist li ul.children .even {}<\/code><code>.commentlist .vcard {}<\/code><code>.commentlist .vcard cite.fn {}<\/code><code>.commentlist .vcard span.says {}<\/code><code>.commentlist .vcard img.photo {}<\/code><code>.commentlist .vcard img.avatar {}<\/code><code>.commentlist .vcard cite.fn a.<\/code><code>url<\/code><code>{}<\/code><code>.commentlist .comment-meta {} <\/code><code>.commentlist .comment-meta a {}<\/code><code>.commentlist .commentmetadata {}<\/code><code>.commentlist .commentmetadata a {}<\/code><code>.commentlist .parent {}<\/code><code>.commentlist .comment {}<\/code><code>.commentlist .children {}<\/code><code>.commentlist .pingback {}<\/code><code>.commentlist .bypostauthor {}<\/code><code>.commentlist .comment-author {}<\/code><code>.commentlist .comment-author-admin {}<\/code><code>.commentlist {}<\/code><code>.commentlist li {}<\/code><code>.commentlist li p {}<\/code><code>.commentlist li ul {}<\/code><code>.commentlist li ul.children li {}<\/code><code>.commentlist li ul.children li.alt {}<\/code><code>.commentlist li ul.children li.byuser {}<\/code><code>.commentlist li ul.children li.comment {}<\/code><code>.commentlist li ul.children li.depth-{id} {}<\/code><code>.commentlist li ul.children li.bypostauthor {}<\/code><code>.commentlist li ul.children li.comment-author-admin {}<\/code><code>#cancel-comment-reply {}<\/code><code>#cancel-comment-reply a {}<\/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<h4 class=\"wp-block-heading\">\u5982\u4f55\u67e5\u627e\u60a8\u9700\u8981\u7f16\u8f91\u7684 CSS \u7c7b<\/h4>\n\n\n\n<p>\u5728\u6211\u4eec\u7ee7\u7eed\u8bbe\u8ba1 WordPress \u8bc4\u8bba\u5e03\u5c40\u4e4b\u524d\uff0c\u7ed9\u6211\u4eec\u7684\u65b0\u7528\u6237\u4e00\u4e9b\u5c0f\u63d0\u793a\u3002Google Chrome \u548c Mozilla Firefox \u7f51\u7edc\u6d4f\u89c8\u5668\u9644\u5e26\u4e86\u4e00\u4e2a\u65b9\u4fbf\u7684\u5de5\u5177\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u5b83\u6765\u63d0\u9ad8 WordPress \u4e3b\u9898\u5f00\u53d1\u6280\u80fd\u3002\u8be5\u5de5\u5177\u79f0\u4e3a<strong>Inspect Element<\/strong>\u3002\u53ea\u9700\u5c06\u9f20\u6807\u79fb\u5230\u7f51\u9875\u4e0a\u7684\u67d0\u4e2a\u5143\u7d20\u4e0a\uff0c\u53f3\u952e\u5355\u51fb\u5e76\u9009\u62e9\u68c0\u67e5\u5143\u7d20\u5373\u53ef\u3002\u60a8\u7684\u6d4f\u89c8\u5668\u7a97\u53e3\u5c06\u5206\u4e3a\u4e24\u884c\uff0c\u5728\u4e0b\u90e8\u7a97\u53e3\u4e2d\u60a8\u5c06\u770b\u5230\u8be5\u5143\u7d20\u7684\u6e90\u4ee3\u7801\u3002\u540c\u6837\u5728\u4e0b\u90e8\u7a97\u53e3\u4e2d\uff0c\u60a8\u5c06\u80fd\u591f\u770b\u5230 CSS \u5143\u7d20\u53ca\u5176\u6837\u5f0f\u3002\u60a8\u751a\u81f3\u53ef\u4ee5\u5728\u5176\u4e2d\u7f16\u8f91 CSS \u4ee5\u8fdb\u884c\u6d4b\u8bd5\u3002\u91cd\u8981\u7684\u662f\u8981\u8bb0\u4f4f\uff0c\u4f7f\u7528\u68c0\u67e5\u5143\u7d20\u66f4\u6539\u7684\u4efb\u4f55\u5185\u5bb9\u90fd\u53ea\u6709\u60a8\u81ea\u5df1\u53ef\u89c1\u3002\u5f53\u60a8\u5237\u65b0\u9875\u9762\u65f6\uff0c\u8fd9\u4e9b\u66f4\u6539\u5c31\u4f1a\u6d88\u5931\u3002\u8981\u4f7f\u66f4\u6539\u6c38\u4e45\u751f\u6548\uff0c\u60a8\u5fc5\u987b\u5728\u4e3b\u9898\u4e2d\u4f7f\u7528 style.css \u6587\u4ef6\u6216\u5176\u4ed6\u9002\u5f53\u7684\u6587\u4ef6\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/04\/inspect-element-chrome.jpg\" alt=\"\u68c0\u67e5 Google Chrome \u4e2d\u7684\u5143\u7d20\u4ee5\u67e5\u770b\u6e90\u4ee3\u7801\u5e76\u5feb\u901f\u627e\u5230\u5339\u914d\u7684 CSS \u89c4\u5219\" class=\"wp-image-12012\" title=\"\u68c0\u67e5 Google Chrome \u4e2d\u7684\u5143\u7d20\u4ee5\u67e5\u770b\u6e90\u4ee3\u7801\u5e76\u5feb\u901f\u627e\u5230\u5339\u914d\u7684 CSS \u89c4\u5219\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">\u6dfb\u52a0\u5947\u6570\u548c\u5076\u6570\u80cc\u666f\u989c\u8272\u4ee5\u4f9b\u6ce8\u91ca<\/h4>\n\n\n\n<p>\u5bf9\u4e8e\u5947\u6570\u548c\u5076\u6570\u8bc4\u8bba\u4f7f\u7528\u4e0d\u540c\u7684\u80cc\u666f\u989c\u8272\u662f\u4e00\u79cd\u8bbe\u8ba1\u8d8b\u52bf\uff0c\u5df2\u7ecf\u5b58\u5728\u4e86\u597d\u51e0\u5e74\u4e86\u3002\u5982\u679c\u60a8\u6709\u5f88\u591a\u8bc4\u8bba\uff0c\u5b83\u7279\u522b\u6709\u52a9\u4e8e\u53ef\u8bfb\u6027\u3002\u5b83\u5728\u67d0\u4e9b\u4e3b\u9898\u989c\u8272\u4e0b\u770b\u8d77\u6765\u4e5f\u975e\u5e38\u597d\uff0c\u8fd9\u5c31\u662f\u8bb8\u591a\u8bbe\u8ba1\u5e08\u60f3\u8981\u5229\u7528\u6b64\u529f\u80fd\u7684\u539f\u56e0\u3002\u4e3a\u4e86\u5e2e\u52a9\u8bbe\u8ba1\u8005\u5b9e\u73b0\u8fd9\u4e00\u76ee\u6807\uff0cWordPress \u5206\u522b\u4e3a\u6bcf\u6761\u8bc4\u8bba\u6dfb\u52a0\u4e86\u5947\u6570\u548c\u5076\u6570\u7c7b\u3002<\/p>\n\n\n\n<p>\u60a8\u53ef\u4ee5\u901a\u8fc7\u7c98\u8d34\u4ee5\u4e0b\u4ee3\u7801\u8f7b\u677e\u5730\u5728\u4e3b\u9898\u7684 style.css \u4e2d\u6dfb\u52a0\u5947\u6570\/\u5076\u6570\u6ce8\u91ca\u6837\u5f0f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>123456<\/td><td><code>.commentlist .even .comment { <\/code><code>background-color<\/code><code>:<\/code><code>#ccddf2<\/code><code>; <\/code><code>} <\/code><code>.commentlist .odd .comment {<\/code><code>background-color<\/code><code>:<\/code><code>#CCCCCC<\/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>\u7ed3\u679c\u770b\u8d77\u6765\u50cf\u8fd9\u6837\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/03\/even-odd-comments.jpg\" alt=\"\u4f7f\u7528 CSS \u4e3a WordPress \u4e2d\u7684\u5076\u6570\u548c\u5947\u6570\u8bc4\u8bba\u6dfb\u52a0\u66ff\u4ee3\u989c\u8272\" class=\"wp-image-11992\" title=\"\u4f7f\u7528 CSS \u4e3a WordPress \u4e2d\u7684\u5076\u6570\u548c\u5947\u6570\u8bc4\u8bba\u6dfb\u52a0\u66ff\u4ee3\u989c\u8272\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">\u6837\u5f0f\u8bc4\u8bba\u4f5c\u8005\u548c\u5143\u4fe1\u606f<\/h4>\n\n\n\n<p>WordPress \u8fd8\u5411\u6bcf\u4e2a\u8bc4\u8bba\u6807\u9898\u4e2d\u663e\u793a\u7684\u5143\u7d20\u6dfb\u52a0\u7c7b\u3002\u8fd9\u5141\u8bb8\u4e3b\u9898\u8bbe\u8ba1\u8005\u81ea\u5b9a\u4e49\u4f5c\u8005\u4fe1\u606f\u548c\u5176\u4ed6\u8bc4\u8bba\u5143\uff08\u4f8b\u5982\u8bc4\u8bba\u65e5\u671f\u548c\u65f6\u95f4\uff09\u7684\u663e\u793a\u3002\u4ee5\u4e0b\u662f\u7c98\u8d34\u5230\u4e3b\u9898\u7684 style.css \u6587\u4ef6\u4e2d\u7684\u793a\u4f8b\u4ee3\u7801\uff0c\u4ee5\u5bf9\u8fd9\u4e9b\u5143\u7d20\u8fdb\u884c\u4e0d\u540c\u7684\u6837\u5f0f\u8bbe\u7f6e\u3002\u5728\u6b64\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u4e3a\u6ce8\u91ca\u5143\u6dfb\u52a0\u4e86\u80cc\u666f\u989c\u8272\u548c\u4e00\u4e9b\u95f4\u8ddd\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>12345678<\/td><td><code>.comments-area article header {<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>margin<\/code><code>: <\/code><code>0<\/code><code>0<\/code><code>48px<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>overflow<\/code><code>: <\/code><code>hidden<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>position<\/code><code>: <\/code><code>relative<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>background-color<\/code><code>:<\/code><code>#55737D<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>color<\/code><code>:<\/code><code>#FFFFFF<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>padding<\/code><code>: <\/code><code>10px<\/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>\u5b83\u5e94\u8be5\u662f\u8fd9\u6837\u7684\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/03\/comment-meta-css.jpg\" alt=\"\u5728 WordPress \u8bc4\u8bba\u4e2d\u8bbe\u7f6e\u8bc4\u8bba\u5143\u548c\u4f5c\u8005\u4fe1\u606f\u7684\u6837\u5f0f\" class=\"wp-image-11993\" title=\"\u5728 WordPress \u8bc4\u8bba\u4e2d\u8bbe\u7f6e\u8bc4\u8bba\u5143\u548c\u4f5c\u8005\u4fe1\u606f\u7684\u6837\u5f0f\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">\u4ee5\u4e0d\u540c\u7684\u65b9\u5f0f\u8bbe\u7f6e\u5e16\u5b50\u4f5c\u8005\u8bc4\u8bba\u7684\u6837\u5f0f<\/h4>\n\n\n\n<p>\u901a\u5e38\uff0c\u60a8\u53ef\u80fd\u4f1a\u770b\u5230\u5e16\u5b50\u4f5c\u8005\u8bc4\u8bba\u4ee5\u4e0d\u540c\u7684\u80cc\u666f\u989c\u8272\u6216\u4e00\u4e9b\u9644\u52a0\u5fbd\u7ae0\u7a81\u51fa\u663e\u793a\u3002<code>bypostauthor<\/code>WordPress\u4e3a\u5e16\u5b50\u4f5c\u8005\u53d1\u8868\u7684\u6240\u6709\u8bc4\u8bba\u6dfb\u52a0\u9ed8\u8ba4\u7c7b\u522b\u3002WordPress \u4e3b\u9898\u8bbe\u8ba1\u8005\u53ef\u4ee5\u4f7f\u7528\u6b64\u7c7b\u4ee5\u4e0d\u540c\u7684\u65b9\u5f0f\u8bbe\u7f6e\u4f5c\u8005\u8bc4\u8bba\u7684\u6837\u5f0f\u3002<\/p>\n\n\n\n<p>\u6709\u4e9b\u4e3b\u9898\uff0c\u4f7f\u7528\u81ea\u5df1\u7684\u56de\u8c03\u51fd\u6570\u6765\u663e\u793a\u8bc4\u8bba\u3002\u4f7f\u7528\u56de\u8c03\u51fd\u6570\uff0c\u8fd9\u4e9b\u4e3b\u9898\u53ef\u4ee5\u5411\u5e16\u5b50\u4f5c\u8005\u7684\u8bc4\u8bba\u6dfb\u52a0\u9644\u52a0\u4fe1\u606f\u3002\u4f8b\u5982\uff0c\u300a\u4e8c\u5341\u4e00\u5341\u4e8c\u300b\u5728\u8bc4\u8bba\u56de\u8c03\u51fd\u6570\u4e2d\u4f7f\u7528\u4ee5\u4e0b\u884c<code>twentytwelve_comment()<\/code>\uff08\u4f4d\u4e8e<code>functions.php<\/code>\u4e3b\u9898\u6587\u4ef6\u4e2d\uff09\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>123<\/td><td><code>\/\/ If current post author is also comment author, make it known visually.<\/code><code>( <\/code><code>$comment<\/code><code>-&gt;user_id === <\/code><code>$post<\/code><code>-&gt;post_author ) ? <\/code><code>'&lt;span&gt; '<\/code><code>. __( <\/code><code>'Post author'<\/code><code>, <\/code><code>'twentytwelve'<\/code><code>) . <\/code><code>'&lt;\/span&gt;'<\/code><code>: <\/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>\u6b64\u4ee3\u7801\u6dfb\u52a0<code>&lt;span&gt;Post Author&lt;\/span&gt;<\/code>\u5230\u8bc4\u8bba\u5143\u4fe1\u606f\u3002\u6839\u636e\u60a8\u7684 WordPress \u4e3b\u9898\u5904\u7406\u5e16\u5b50\u4f5c\u8005\u8bc4\u8bba\u7684\u65b9\u5f0f\uff0c\u60a8\u53ef\u4ee5\u5c06\u5176\u4fee\u6539\u4e3a\u60a8\u60f3\u8981\u7684\u4efb\u4f55\u5185\u5bb9\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u60a8\u4f7f\u7528\u7684\u4e3b\u9898\u4e0e\u300a\u4e8c\u5341\u4e00\u5341\u4e8c\u300b\u4e0d\u540c\uff0c\u90a3\u4e48\u60a8\u9700\u8981\u4e86\u89e3\u60a8\u7684\u4e3b\u9898\u5982\u4f55\u5904\u7406\u8bc4\u8bba\u3002\u53ea\u9700\u6253\u5f00\u60a8\u7684\u4e3b\u9898<code>comments.php<\/code>\u6587\u4ef6\u5373\u53ef\u3002\u5982\u679c\u60a8\u7684\u4e3b\u9898\u4f7f\u7528\u81ea\u5df1\u7684\u56de\u8c03\u51fd\u6570\uff0c\u90a3\u4e48\u60a8\u4f1a\u5728<code>wp_list_comments<\/code>\u51fd\u6570\u5185\u770b\u5230\u5b83\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1<\/td><td><code>&lt;?php wp_list_comments( <\/code><code>array<\/code><code>( <\/code><code>'callback'<\/code><code>=&gt; <\/code><code>'twentytwelve_comment'<\/code><code>, <\/code><code>'style'<\/code><code>=&gt; <\/code><code>'ol'<\/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>\u5728\u4e0a\u9762\u7684\u793a\u4f8b\u4e2d\uff0c\u60a8\u53ef\u4ee5\u770b\u5230\u4e3b\u9898\u7528\u4f5c<code>twentytwelve_comment<\/code>\u56de\u8c03\u51fd\u6570\u3002\u5982\u679c\u6307\u5b9a\u4e86\u56de\u8c03\u51fd\u6570\uff0c\u90a3\u4e48\u6700\u6709\u53ef\u80fd\u627e\u5230\u8be5\u51fd\u6570\u7684\u4f4d\u7f6e\u662f\u5728\u4e3b\u9898\u7684functions.php \u6587\u4ef6\u4e2d\u3002<\/p>\n\n\n\n<p>\u5728\u6b64\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u5c06\u66f4\u6539\u6b64\u51fd\u6570\u4ee5\u663e\u793a\u7f16\u8f91\u5668\u800c\u4e0d\u662f\u5e16\u5b50\u4f5c\u8005\u3002\u4e3a\u6b64\uff0c\u6211\u4eec\u4fee\u6539\u4e86\u8bc4\u8bba\u56de\u8c03\u51fd\u6570\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>123<\/td><td><code>\/\/ If current post author is also comment author, make it known visually.<\/code><code>( <\/code><code>$comment<\/code><code>-&gt;user_id === <\/code><code>$post<\/code><code>-&gt;post_author ) ? <\/code><code>'&lt;span&gt; '<\/code><code>. __( <\/code><code>'Editor'<\/code><code>, <\/code><code>'twentytwelve'<\/code><code>) . <\/code><code>'&lt;\/span&gt;'<\/code><code>: <\/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>\u6211\u4eec\u8fd8\u5c06\u901a\u8fc7\u5728\u4e3b\u9898\u7684 style.css \u6587\u4ef6\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9\u6765\u4fee\u6539\u5b83\u7684\u5916\u89c2\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>12345678910<\/td><td><code>li.bypostauthor cite span {<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>color<\/code><code>: <\/code><code>#21759b<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>background-color<\/code><code>: <\/code><code>#f8f0cb<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>background-image<\/code><code>: <\/code><code>none<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>border<\/code><code>: <\/code><code>1px<\/code><code>solid<\/code><code>#f8f0cb<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>border-radius<\/code><code>: <\/code><code>3px<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>box-shadow<\/code><code>: <\/code><code>none<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>padding<\/code><code>: <\/code><code>3px<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>font-weight<\/code><code>:<\/code><code>bold<\/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>\u5b83\u770b\u8d77\u6765\u662f\u8fd9\u6837\u7684\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/03\/style-author-comment.jpg\" alt=\"\u5728 WordPress \u8bc4\u8bba\u4e2d\u4ee5\u4e0d\u540c\u7684\u65b9\u5f0f\u8bbe\u7f6e\u4f5c\u8005\u8bc4\u8bba\u7684\u6837\u5f0f\" class=\"wp-image-11994\" title=\"\u5728 WordPress \u8bc4\u8bba\u4e2d\u4ee5\u4e0d\u540c\u7684\u65b9\u5f0f\u8bbe\u7f6e\u4f5c\u8005\u8bc4\u8bba\u7684\u6837\u5f0f\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">WordPress \u8bc4\u8bba\u4e2d\u7684\u8bc4\u8bba\u56de\u590d\u94fe\u63a5\u6837\u5f0f<\/h4>\n\n\n\n<p>\u5927\u591a\u6570 WordPress \u4e3b\u9898\u5728\u6bcf\u6761\u8bc4\u8bba\u4e0b\u65b9\u90fd\u6709\u4e00\u4e2a\u56de\u590d\u94fe\u63a5\u3002\u4ec5\u5f53\u60a8\u542f\u7528\u4e86\u4e32\u8054\u8bc4\u8bba\u65f6\u624d\u4f1a\u663e\u793a\u6b64\u529f\u80fd\u3002\u8981\u542f\u7528\u7ebf\u7d22\u8bc4\u8bba\uff0c\u8bf7\u8f6c\u5230\u60a8\u7684 WordPress \u7ba1\u7406\u5458\uff08<strong>\u8bbe\u7f6e \u00bb \u8ba8\u8bba<\/strong>\uff09\u3002\u67e5\u770b\u5176\u4ed6\u6ce8\u91ca\u8bbe\u7f6e\u7684\u90e8\u5206\uff0c\u7136\u540e\u9009\u4e2d\u542f\u7528\u7ebf\u7a0b\uff08\u5d4c\u5957\uff09\u6ce8\u91ca\u7684\u6846\u3002<\/p>\n\n\n\n<p>WordPress \u4e3a\u56de\u590d\u94fe\u63a5\u751f\u6210\u7684\u9ed8\u8ba4 CSS \u7c7b\u662f<code>reply<\/code>\u548c<code>comment-reply-link<\/code>\u3002\u6211\u4eec\u5c06\u4f7f\u7528\u8fd9\u4e9b\u7c7b\u6765\u4fee\u6539\u56de\u590d\u94fe\u63a5\u5e76\u5c06\u5176\u8f6c\u6362\u4e3a CSS \u6309\u94ae\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1234567891011121314151617 \u53f7181920212223242526272829<\/td><td><code>.reply { <\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>float<\/code><code>:<\/code><code>right<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>margin<\/code><code>:<\/code><code>0<\/code><code>10px<\/code><code>10px<\/code><code>0<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>text-align<\/code><code>:<\/code><code>center<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>background-color<\/code><code>: <\/code><code>#55737D<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>border<\/code><code>:<\/code><code>1px<\/code><code>solid<\/code><code>#55737D<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>border-radius<\/code><code>:<\/code><code>3px<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>padding<\/code><code>:<\/code><code>3px<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>width<\/code><code>:<\/code><code>50px<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>box-shadow<\/code><code>: <\/code><code>1px<\/code><code>1px<\/code><code>2px<\/code><code>2px<\/code><code>#4f4f4f<\/code><code>;<\/code><code>}<\/code><code>.comment article {<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>padding-bottom<\/code><code>:<\/code><code>2.79<\/code><code>rem;<\/code><code>}<\/code><code>a.comment-reply-link,<\/code><code>a.comment-edit-link {<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>color<\/code><code>: <\/code><code>#FFFFFF<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>font-size<\/code><code>: <\/code><code>13px<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>font-size<\/code><code>: <\/code><code>0.928571429<\/code><code>rem;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>line-height<\/code><code>: <\/code><code>1.846153846<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>text-decoration<\/code><code>:<\/code><code>none<\/code><code>;<\/code><code>}<\/code><code>a.comment-reply-link:hover,<\/code><code>a.comment-edit-link:hover {<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>color<\/code><code>: <\/code><code>#f6e7d7<\/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>\u5b83\u770b\u8d77\u6765\u662f\u8fd9\u6837\u7684\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/04\/comment-reply-button.jpg\" alt=\"\u4f7f\u7528 CSS \u8bbe\u8ba1 WordPress \u8bc4\u8bba\u4e2d\u7684\u8bc4\u8bba\u56de\u590d\u6309\u94ae\" class=\"wp-image-11998\" title=\"\u4f7f\u7528 CSS \u8bbe\u8ba1 WordPress \u8bc4\u8bba\u4e2d\u7684\u8bc4\u8bba\u56de\u590d\u6309\u94ae\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">\u6837\u5f0f\u8bc4\u8bba\u7f16\u8f91\u6309\u94ae<\/h4>\n\n\n\n<p>\u5728\u5927\u591a\u6570 WordPress \u4e3b\u9898\u4e2d\uff0c\u5177\u6709\u7f16\u8f91\u8bc4\u8bba\u529f\u80fd\u7684\u767b\u5f55\u7528\u6237\u53ef\u4ee5\u5728\u6bcf\u6761\u8bc4\u8bba\u4e0b\u65b9\u770b\u5230\u8bc4\u8bba\u7f16\u8f91\u94fe\u63a5\u3002\u8fd9\u662f\u4e00\u4e2a\u4f7f\u7528\u9ed8\u8ba4\u7c7b<code>comment-edit-link<\/code>\u6765\u4fee\u6539\u94fe\u63a5\u5916\u89c2\u7684\u5c0fCSS\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1234567891011<\/td><td><code>a.comment-edit-link {<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>float<\/code><code>:<\/code><code>left<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>margin<\/code><code>:<\/code><code>0<\/code><code>0<\/code><code>10px<\/code><code>10px<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>text-align<\/code><code>:<\/code><code>center<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>background-color<\/code><code>: <\/code><code>#55737D<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>border<\/code><code>:<\/code><code>1px<\/code><code>solid<\/code><code>#55737D<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>border-radius<\/code><code>:<\/code><code>3px<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>padding<\/code><code>:<\/code><code>3px<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>width<\/code><code>:<\/code><code>50px<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>box-shadow<\/code><code>: <\/code><code>1px<\/code><code>1px<\/code><code>2px<\/code><code>2px<\/code><code>#4f4f4f<\/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>\u5b83\u770b\u8d77\u6765\u662f\u8fd9\u6837\u7684\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/04\/comme-edit-css.jpg\" alt=\"\u4f7f\u7528 CSS \u8bbe\u7f6e WordPress \u8bc4\u8bba\u4e2d\u8bc4\u8bba\u7f16\u8f91\u94fe\u63a5\u7684\u6837\u5f0f\" class=\"wp-image-12008\" title=\"\u4f7f\u7528 CSS \u8bbe\u7f6e WordPress \u8bc4\u8bba\u4e2d\u8bc4\u8bba\u7f16\u8f91\u94fe\u63a5\u7684\u6837\u5f0f\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">\u9020\u578b \u53d6\u6d88\u8bc4\u8bba \u56de\u590d\u94fe\u63a5<\/h4>\n\n\n\n<p>\u5728\u5927\u591a\u6570\u4f18\u79c0\u7684 WordPress \u4e3b\u9898\u4e2d\uff0c\u5355\u51fb\u201c\u56de\u590d\u201d\u94fe\u63a5\u4f1a\u5728\u60a8\u8981\u56de\u590d\u7684\u8bc4\u8bba\u4e0b\u65b9\u6253\u5f00\u8bc4\u8bba\u8868\u5355\uff0c\u5176\u4e2d\u5305\u542b\u53d6\u6d88\u8bc4\u8bba\u56de\u590d\u7684\u94fe\u63a5\u3002\u8ba9\u6211\u4eec\u4f7f\u7528\u9ed8\u8ba4 CSS ID \u4fee\u6539\u6b64\u53d6\u6d88\u8bc4\u8bba\u56de\u590d\u94fe\u63a5<code>cancel-comment-reply<\/code>\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1234567891011<\/td><td><code>#cancel-comment-reply-link&nbsp; { <\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>text-align<\/code><code>:<\/code><code>center<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>background-color<\/code><code>: <\/code><code>#55737D<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>border<\/code><code>:<\/code><code>1px<\/code><code>solid<\/code><code>#55737D<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>border-radius<\/code><code>:<\/code><code>3px<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>padding<\/code><code>:<\/code><code>3px<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>width<\/code><code>:<\/code><code>50px<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>color<\/code><code>:<\/code><code>#FFFFFF<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>box-shadow<\/code><code>: <\/code><code>1px<\/code><code>1px<\/code><code>2px<\/code><code>2px<\/code><code>#4f4f4f<\/code><code>;<\/code><code>&nbsp;&nbsp;&nbsp;&nbsp;<\/code><code>text-decoration<\/code><code>:<\/code><code>none<\/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>\u5b83\u770b\u8d77\u6765\u662f\u8fd9\u6837\u7684\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/04\/cancel-comment-reply.jpg\" alt=\"\u5728 WordPress \u8bc4\u8bba\u56de\u590d\u8868\u5355\u4e2d\u8bbe\u7f6e\u53d6\u6d88\u8bc4\u8bba\u56de\u590d\u94fe\u63a5\u7684\u6837\u5f0f\" class=\"wp-image-12010\" title=\"\u5728 WordPress \u8bc4\u8bba\u56de\u590d\u8868\u5355\u4e2d\u8bbe\u7f6e\u53d6\u6d88\u8bc4\u8bba\u56de\u590d\u94fe\u63a5\u7684\u6837\u5f0f\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">\u8bbe\u8ba1 WordPress \u8bc4\u8bba\u8868\u5355<\/h4>\n\n\n\n<p>\u53ef\u7528\u3001\u7f8e\u89c2\u4e14\u65f6\u5c1a\u7684\u8bc4\u8bba\u8868\u5355\u9f13\u52b1\u7528\u6237\u5728\u60a8\u7684\u535a\u5ba2\u4e0a\u53d1\u8868\u8bc4\u8bba\u3002\u4e4b\u524d\u6211\u4eec\u5199\u8fc7\u4e00\u7bc7\u5173\u4e8e<a href=\"https:\/\/www.wpbeginner.com\/wp-themes\/how-to-style-wordpress-comment-form\/\">\u5982\u4f55\u8bbe\u7f6e WordPress \u8bc4\u8bba\u8868\u5355\u6837\u5f0f<\/a>\u7684\u8be6\u7ec6\u6587\u7ae0\u3002\u6211\u4eec\u5f3a\u70c8\u5efa\u8bae\u60a8\u67e5\u770b\u4e00\u4e0b\uff0c\u770b\u770b\u5982\u4f55\u5c06 WordPress \u8bc4\u8bba\u8868\u5355\u63d0\u5347\u5230\u4e00\u4e2a\u65b0\u7684\u6c34\u5e73\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u6211\u4eec\u5411\u60a8\u5c55\u793a\u4e86\u5982\u4f55\u8bbe\u8ba1 WordPress \u8bc4\u8bba\u8868\u5355\uff0c\u6211\u4eec\u8ba4\u4e3a\u5982\u679c\u6211\u4eec\u4e0d\u5199\u6709\u5173\u8bbe\u8ba1 WordPress \u8bc4 &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/wpeyes.com\/wordpress\/archives\/3121\"> <span class=\"screen-reader-text\">\u5982\u4f55\u8bbe\u8ba1 WordPress \u8bc4\u8bba\u5e03\u5c40<\/span> Read More \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":3123,"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":[29],"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\u8bbe\u8ba1 WordPress \u8bc4\u8bba\u5e03\u5c40 - 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\/3121\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u8bbe\u8ba1 WordPress \u8bc4\u8bba\u5e03\u5c40 - WordPress\u4e2d\u6587\" \/>\n<meta property=\"og:description\" content=\"\u6700\u8fd1\u6211\u4eec\u5411\u60a8\u5c55\u793a\u4e86\u5982\u4f55\u8bbe\u8ba1 WordPress \u8bc4\u8bba\u8868\u5355\uff0c\u6211\u4eec\u8ba4\u4e3a\u5982\u679c\u6211\u4eec\u4e0d\u5199\u6709\u5173\u8bbe\u8ba1 WordPress \u8bc4 &hellip; \u5982\u4f55\u8bbe\u8ba1 WordPress \u8bc4\u8bba\u5e03\u5c40 Read More \u00bb\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpeyes.com\/wordpress\/archives\/3121\" \/>\n<meta property=\"og:site_name\" content=\"WordPress\u4e2d\u6587\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-23T04:49:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-23T04:49:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/04\/stylecommentslayout.jpg\" \/>\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\/2013\/04\/stylecommentslayout.jpg\" \/>\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\/3121#article\",\"isPartOf\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/archives\/3121\"},\"author\":{\"name\":\"qmk\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#\/schema\/person\/80e9903d893da74eb372a4c631f6e22c\"},\"headline\":\"\u5982\u4f55\u8bbe\u8ba1 WordPress \u8bc4\u8bba\u5e03\u5c40\",\"datePublished\":\"2023-10-23T04:49:40+00:00\",\"dateModified\":\"2023-10-23T04:49:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/archives\/3121\"},\"wordCount\":73,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#organization\"},\"articleSection\":[\"\u6700\u4f73\u4e3b\u9898\"],\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/wpeyes.com\/wordpress\/archives\/3121#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/archives\/3121\",\"url\":\"https:\/\/wpeyes.com\/wordpress\/archives\/3121\",\"name\":\"\u5982\u4f55\u8bbe\u8ba1 WordPress \u8bc4\u8bba\u5e03\u5c40 - WordPress\u4e2d\u6587\",\"isPartOf\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/#website\"},\"datePublished\":\"2023-10-23T04:49:40+00:00\",\"dateModified\":\"2023-10-23T04:49:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/wpeyes.com\/wordpress\/archives\/3121#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wpeyes.com\/wordpress\/archives\/3121\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wpeyes.com\/wordpress\/archives\/3121#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\u4e3b\u9898\",\"item\":\"https:\/\/wpeyes.com\/wordpress\/archives\/category\/web-article\/wpbeginner\/themes\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"\u5982\u4f55\u8bbe\u8ba1 WordPress \u8bc4\u8bba\u5e03\u5c40\"}]},{\"@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\u8bbe\u8ba1 WordPress \u8bc4\u8bba\u5e03\u5c40 - 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\/3121","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u8bbe\u8ba1 WordPress \u8bc4\u8bba\u5e03\u5c40 - WordPress\u4e2d\u6587","og_description":"\u6700\u8fd1\u6211\u4eec\u5411\u60a8\u5c55\u793a\u4e86\u5982\u4f55\u8bbe\u8ba1 WordPress \u8bc4\u8bba\u8868\u5355\uff0c\u6211\u4eec\u8ba4\u4e3a\u5982\u679c\u6211\u4eec\u4e0d\u5199\u6709\u5173\u8bbe\u8ba1 WordPress \u8bc4 &hellip; \u5982\u4f55\u8bbe\u8ba1 WordPress \u8bc4\u8bba\u5e03\u5c40 Read More \u00bb","og_url":"https:\/\/wpeyes.com\/wordpress\/archives\/3121","og_site_name":"WordPress\u4e2d\u6587","article_published_time":"2023-10-23T04:49:40+00:00","article_modified_time":"2023-10-23T04:49:54+00:00","og_image":[{"url":"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/04\/stylecommentslayout.jpg"}],"author":"qmk","twitter_card":"summary_large_image","twitter_image":"https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/04\/stylecommentslayout.jpg","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\/3121#article","isPartOf":{"@id":"https:\/\/wpeyes.com\/wordpress\/archives\/3121"},"author":{"name":"qmk","@id":"https:\/\/wpeyes.com\/wordpress\/#\/schema\/person\/80e9903d893da74eb372a4c631f6e22c"},"headline":"\u5982\u4f55\u8bbe\u8ba1 WordPress \u8bc4\u8bba\u5e03\u5c40","datePublished":"2023-10-23T04:49:40+00:00","dateModified":"2023-10-23T04:49:54+00:00","mainEntityOfPage":{"@id":"https:\/\/wpeyes.com\/wordpress\/archives\/3121"},"wordCount":73,"commentCount":0,"publisher":{"@id":"https:\/\/wpeyes.com\/wordpress\/#organization"},"articleSection":["\u6700\u4f73\u4e3b\u9898"],"inLanguage":"zh-CN","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/wpeyes.com\/wordpress\/archives\/3121#respond"]}]},{"@type":"WebPage","@id":"https:\/\/wpeyes.com\/wordpress\/archives\/3121","url":"https:\/\/wpeyes.com\/wordpress\/archives\/3121","name":"\u5982\u4f55\u8bbe\u8ba1 WordPress \u8bc4\u8bba\u5e03\u5c40 - WordPress\u4e2d\u6587","isPartOf":{"@id":"https:\/\/wpeyes.com\/wordpress\/#website"},"datePublished":"2023-10-23T04:49:40+00:00","dateModified":"2023-10-23T04:49:54+00:00","breadcrumb":{"@id":"https:\/\/wpeyes.com\/wordpress\/archives\/3121#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpeyes.com\/wordpress\/archives\/3121"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wpeyes.com\/wordpress\/archives\/3121#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\u4e3b\u9898","item":"https:\/\/wpeyes.com\/wordpress\/archives\/category\/web-article\/wpbeginner\/themes"},{"@type":"ListItem","position":5,"name":"\u5982\u4f55\u8bbe\u8ba1 WordPress \u8bc4\u8bba\u5e03\u5c40"}]},{"@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\/2013\/04\/stylecommentslayout.jpg",180,180,false],"thumbnail":["https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/04\/stylecommentslayout.jpg",150,150,false],"medium":["https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/04\/stylecommentslayout.jpg",180,180,false],"medium_large":["https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/04\/stylecommentslayout.jpg",180,180,false],"large":["https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/04\/stylecommentslayout.jpg",180,180,false],"1536x1536":["https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/04\/stylecommentslayout.jpg",180,180,false],"2048x2048":["https:\/\/www.wpbeginner.com\/wp-content\/uploads\/2013\/04\/stylecommentslayout.jpg",180,180,false]},"uagb_author_info":{"display_name":"qmk","author_link":"https:\/\/wpeyes.com\/wordpress\/archives\/author\/qmk"},"uagb_comment_info":0,"uagb_excerpt":"\u6700\u8fd1\u6211\u4eec\u5411\u60a8\u5c55\u793a\u4e86\u5982\u4f55\u8bbe\u8ba1 WordPress \u8bc4\u8bba\u8868\u5355\uff0c\u6211\u4eec\u8ba4\u4e3a\u5982\u679c\u6211\u4eec\u4e0d\u5199\u6709\u5173\u8bbe\u8ba1 WordPress \u8bc4&hellip;","_links":{"self":[{"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/posts\/3121"}],"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=3121"}],"version-history":[{"count":1,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/posts\/3121\/revisions"}],"predecessor-version":[{"id":3122,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/posts\/3121\/revisions\/3122"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/media\/3123"}],"wp:attachment":[{"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/media?parent=3121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/categories?post=3121"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpeyes.com\/wordpress\/wp-json\/wp\/v2\/tags?post=3121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}