{"id":339,"date":"2019-05-13T10:11:19","date_gmt":"2019-05-13T02:11:19","guid":{"rendered":"https:\/\/blog.naibabiji.com\/?p=339"},"modified":"2021-06-15T23:19:53","modified_gmt":"2021-06-15T15:19:53","slug":"wordpress-ping-lun-you-jian-tong-zhi","status":"publish","type":"post","link":"https:\/\/blog.naibabiji.com\/tutorial\/wordpress-ping-lun-you-jian-tong-zhi.html","title":{"rendered":"\u7ed9WordPress\u6dfb\u52a0\u8bc4\u8bba\u90ae\u4ef6\u56de\u590d\u901a\u77e5\u7684\u4e24\u79cd\u65b9\u6cd5"},"content":{"rendered":"<p>WordPress\u8bc4\u8bba\u90ae\u4ef6\u901a\u77e5\u5976\u7238\u89c9\u5f97\u662f\u4e00\u4e2a\u975e\u5e38\u6709\u7528\u7684\u529f\u80fd\uff0c\u80fd\u591f\u589e\u52a0\u4f60\u548c\u7f51\u53cb\u7684\u4e92\u52a8\u3002<\/p>\n<p>\u8bd5\u60f3\u4e00\u4e0b\uff0c\u5982\u679c\u4f60\u5728\u672c\u6587\u95ee\u6211\uff1a\u201c\u6211\u8ddf\u7740\u4f60\u7684\u6559\u7a0b\u64cd\u4f5c\u4e86\uff0c\u600e\u4e48\u8bc4\u8bba\u8fd8\u662f\u6ca1\u6709\u90ae\u4ef6\u901a\u77e5\u5462\uff1f\u201d\uff0c\u4f60\u662f\u613f\u610f\u6bcf\u5929\u90fd\u6765\u5237\u65b0\u51e0\u904d\u6587\u7ae0\u770b\u6211\u56de\u590d\u4f60\u6ca1\u6709\uff0c\u8fd8\u662f\u613f\u610f\u5f53\u6211\u8bc4\u8bba\u4f60\u8fc7\u540e\u53d1\u9001\u90ae\u4ef6\u544a\u8bc9\u4f60\uff0c\u55e8\uff0c\u4f60\u7684\u8bc4\u8bba\u6709\u4eba\u56de\u590d\u4e86\u54e6\u3002<\/p>\n<h3>\u4ee3\u7801\u5b9e\u73b0\u65b9\u6cd5<\/h3>\n<p><strong>\u6709\u4e24\u79cd\u65b9\u6cd5\u53ef\u4ee5\u5b9e\u73b0WordPress\u535a\u5ba2\u8bc4\u8bba\u540e\u7ed9\u8bc4\u8bba\u8005\u53d1\u9001\u90ae\u4ef6\u7684\u529f\u80fd\uff0c\u4e00\u79cd\u662f\u901a\u8fc7\u589e\u52a0\u4ee3\u7801\u6765\u5b9e\u73b0\uff0c\u53e6\u5916\u4e00\u79cd\u5c31\u662f\u901a\u8fc7\u63d2\u4ef6\u6765\u5b9e\u73b0\u3002<\/strong><\/p>\n<p>\u5982\u679c\u4f7f\u7528\u4ee3\u7801\u529f\u80fd\uff0c\u57fa\u672c\u4e0a\u90fd\u662f\u7528\u7684\u4e0b\u9762\u8fd9\u4e2a\u4ee3\u7801\uff0c\u6216\u8005\u7a0d\u5fae\u4fee\u6539\u8fc7\u7684\u7248\u672c<\/p>\n<p>\/* comment_mail_notify v1.0 by willin kan. (\u6240\u6709\u56de\u590d\u90fd\u53d1\u90ae\u4ef6) *\/<\/p>\n<p>\u767b\u9646\u535a\u5ba2\u540e\u53f0\uff0c\u70b9\u51fb\u201c\u5916\u89c2\u201d\u9009\u9879\u5361\u4e0b\u7684\u201c\u7f16\u8f91\u201d\u9009\u9879\u8fdb\u5165\u4e3b\u9898\u7f16\u8f91\u754c\u9762\uff0c\u5728functions.php\u6587\u4ef6\u4e2d\u7684\u4e4b\u95f4\u6dfb\u52a0\u4ee5\u4e0b\u51fd\u6570\u5373\u53ef\uff1a<\/p>\n<p><strong>1\u3001\u6240\u6709\u4eba\u90fd\u53d1\u90ae\u4ef6<\/strong><\/p>\n<pre>\/* comment_mail_notify v1.0 by willin kan. (\u6240\u6709\u56de\u590d\u90fd\u53d1\u90ae\u4ef6) *\/\r\nfunction comment_mail_notify($comment_id) {\r\n  $comment = get_comment($comment_id);\r\n  $parent_id = $comment-&gt;comment_parent ? $comment-&gt;comment_parent : '';\r\n  $spam_confirmed = $comment-&gt;comment_approved;\r\n  if (($parent_id != '') &amp;&amp; ($spam_confirmed != 'spam')) {\r\n    $wp_email = 'no-reply@' . preg_replace('#^www\\.#', '', strtolower($_SERVER['SERVER_NAME'])); \/\/e-mail \u53d1\u51fa\u70b9, no-reply \u53ef\u6539\u4e3a\u53ef\u7528\u7684 e-mail.\r\n    $to = trim(get_comment($parent_id)-&gt;comment_author_email);\r\n    $subject = '\u60a8\u5728 [' . get_option(\"blogname\") . '] \u7684\u7559\u8a00\u6709\u4e86\u56de\u590d';\r\n    $message = '\r\n    &lt;div style=\" border:1px solid #d8e3e8; color:#111; padding:0 15px; -moz-border-radius:5px; -webkit-border-radius:5px; -khtml-border-radius:5px;\"&gt;\r\n      &lt;p&gt;' . trim(get_comment($parent_id)-&gt;comment_author) . ', \u60a8\u597d!&lt;\/p&gt;\r\n      &lt;p&gt;\u60a8\u66fe\u5728\u300a' . get_the_title($comment-&gt;comment_post_ID) . '\u300b\u7684\u7559\u8a00:&lt;br \/&gt;'\r\n       . trim(get_comment($parent_id)-&gt;comment_content) . '&lt;\/p&gt;\r\n      &lt;p&gt;' . trim($comment-&gt;comment_author) . ' \u7ed9\u60a8\u7684\u56de\u590d:&lt;br \/&gt;'\r\n       . trim($comment-&gt;comment_content) . '&lt;br \/&gt;&lt;\/p&gt;\r\n      &lt;p&gt;\u60a8\u53ef\u4ee5\u70b9\u51fb \u67e5\u770b\u56de\u590d\u5b8c\u6574\u5167\u5bb9&lt;\/p&gt;\r\n      &lt;p&gt;\u6b22\u8fce\u518d\u5ea6\u5149\u4e34 ' . get_option('blogname') . '&lt;\/p&gt;\r\n      &lt;p&gt;(\u6b64\u90ae\u4ef6\u7531\u7cfb\u7edf\u81ea\u52a8\u53d1\u9001\uff0c\u8bf7\u52ff\u56de\u590d.)&lt;\/p&gt;\r\n    &lt;\/div&gt;';\r\n    $from = \"From: \\\"\" . get_option('blogname') . \"\\\" &lt;$wp_email&gt;\";\r\n    $headers = \"$from\\nContent-Type: text\/html; charset=\" . get_option('blog_charset') . \"\\n\";\r\n    wp_mail( $to, $subject, $message, $headers );\r\n    \/\/echo 'mail to ', $to, '&lt;br\/&gt; ' , $subject, $message; \/\/ for testing\r\n  }\r\n}\r\nadd_action('comment_post', 'comment_mail_notify');\r\n\/\/ -- END ----------------------------------------<\/pre>\n<p><strong>2\u3001\u8ba9\u8bbf\u5ba2\u81ea\u5df1\u9009\u62e9\u662f\u5426\u90ae\u4ef6\u901a\u77e5<\/strong><br \/>\n\u5728functions.php\u6587\u4ef6\u4e2d\u7684\u4e4b\u95f4\u6dfb\u52a0\u4ee5\u4e0b\u51fd\u6570\uff0c\u8be5\u51fd\u6570\u5c06\u4f1a\u5728\u8bc4\u8bba\u6846\u5e95\u90e8\u751f\u6210\u8981\u4e0d\u8981\u6536\u56de\u590d\u901a\u77e5\u7684\u9009\u9879<\/p>\n<pre>\/* \u5f00\u59cb*\/\r\nfunction comment_mail_notify($comment_id) {\r\n  $admin_notify = '1'; \/\/ admin \u8981\u4e0d\u8981\u6536\u56de\u590d\u901a\u77e5 ( '1'=\u8981 ; '0'=\u4e0d\u8981 )\r\n  $admin_email = get_bloginfo ('admin_email'); \/\/ $admin_email \u53ef\u6539\u4e3a\u4f60\u6307\u5b9a\u7684 e-mail.\r\n  $comment = get_comment($comment_id);\r\n  $comment_author_email = trim($comment-&gt;comment_author_email);\r\n  $parent_id = $comment-&gt;comment_parent ? $comment-&gt;comment_parent : '';\r\n  global $wpdb;\r\n  if ($wpdb-&gt;query(\"Describe {$wpdb-&gt;comments} comment_mail_notify\") == '')\r\n    $wpdb-&gt;query(\"ALTER TABLE {$wpdb-&gt;comments} ADD COLUMN comment_mail_notify TINYINT NOT NULL DEFAULT 0;\");\r\n  if (($comment_author_email != $admin_email &amp;&amp; isset($_POST['comment_mail_notify'])) || ($comment_author_email == $admin_email &amp;&amp; $admin_notify == '1'))\r\n    $wpdb-&gt;query(\"UPDATE {$wpdb-&gt;comments} SET comment_mail_notify='1' WHERE comment_ID='$comment_id'\");\r\n  $notify = $parent_id ? get_comment($parent_id)-&gt;comment_mail_notify : '0';\r\n  $spam_confirmed = $comment-&gt;comment_approved;\r\n  if ($parent_id != '' &amp;&amp; $spam_confirmed != 'spam' &amp;&amp; $notify == '1') {\r\n    $wp_email = 'no-reply@' . preg_replace('#^www\\.#', '', strtolower($_SERVER['SERVER_NAME'])); \/\/ e-mail \u53d1\u51fa\u70b9, no-reply \u53ef\u6539\u4e3a\u53ef\u7528\u7684 e-mail.\r\n    $to = trim(get_comment($parent_id)-&gt;comment_author_email);\r\n    $subject = '\u60a8\u5728 [' . get_option(\"blogname\") . '] \u7684\u7559\u8a00\u6709\u4e86\u56de\u590d';\r\n    $message = '\r\n    &lt;div style=\" border:1px solid #d8e3e8; color:#111; padding:0 15px; -moz-border-radius:5px; -webkit-border-radius:5px; -khtml-border-radius:5px;\"&gt;\r\n      &lt;p&gt;' . trim(get_comment($parent_id)-&gt;comment_author) . ', \u60a8\u597d!&lt;\/p&gt;\r\n      &lt;p&gt;\u60a8\u66fe\u5728\u300a' . get_the_title($comment-&gt;comment_post_ID) . '\u300b\u7684\u7559\u8a00:&lt;br \/&gt;'\r\n       . trim(get_comment($parent_id)-&gt;comment_content) . '&lt;\/p&gt;\r\n      &lt;p&gt;' . trim($comment-&gt;comment_author) . ' \u7ed9\u60a8\u7684\u56de\u590d:&lt;br \/&gt;'\r\n       . trim($comment-&gt;comment_content) . '&lt;br \/&gt;&lt;\/p&gt;\r\n      &lt;p&gt;\u60a8\u53ef\u4ee5\u70b9\u51fb\u67e5\u770b\u56de\u590d\u7684\u5b8c\u6574\u5167\u5bb9&lt;\/p&gt;\r\n      &lt;p&gt;\u8fd8\u8981\u518d\u5ea6\u5149\u4e34 ' . get_option('blogname') . '&lt;\/p&gt;\r\n      &lt;p&gt;(\u6b64\u90ae\u4ef6\u7531\u7cfb\u7edf\u81ea\u52a8\u53d1\u9001\uff0c\u8bf7\u52ff\u56de\u590d.)&lt;\/p&gt;\r\n    &lt;\/div&gt;';\r\n    $from = \"From: \\\"\" . get_option('blogname') . \"\\\" &lt;$wp_email&gt;\";\r\n    $headers = \"$from\\nContent-Type: text\/html; charset=\" . get_option('blog_charset') . \"\\n\";\r\n    wp_mail( $to, $subject, $message, $headers );\r\n    \/\/echo 'mail to ', $to, '&lt;br\/&gt; ' , $subject, $message; \/\/ for testing\r\n  }\r\n}\r\nadd_action('comment_post', 'comment_mail_notify');\r\n  \r\n\/* \u81ea\u52a8\u52a0\u52fe\u9009\u680f *\/\r\nfunction add_checkbox() {\r\n  echo '&lt;input type=\"checkbox\" name=\"comment_mail_notify\" id=\"comment_mail_notify\" value=\"comment_mail_notify\" checked=\"checked\" style=\"margin-left:20px;\" \/&gt;&lt;span for=\"comment_mail_notify\"&gt;\u6709\u4eba\u56de\u590d\u65f6\u90ae\u4ef6\u901a\u77e5\u6211&lt;\/span&gt;';\r\n}\r\nadd_action('comment_form', 'add_checkbox');<\/pre>\n<p><strong>3\u3001\u8ba9\u535a\u5ba2\u7ba1\u7406\u5458\u51b3\u5b9a\u4ec0\u4e48\u60c5\u51b5\u4e0b\u53d1\u90ae\u4ef6<\/strong><\/p>\n<p>\u5728functions.php\u6587\u4ef6\u4e2d\u7684\u4e4b\u95f4\u6dfb\u52a0\u4ee5\u4e0b\u51fd\u6570\uff1a<\/p>\n<pre>\/* comment_mail_notify v1.0 by willin kan. (\u65e0\u52fe\u9009\u680f) *\/\r\nfunction comment_mail_notify($comment_id) {\r\n  $admin_email = get_bloginfo ('admin_email'); \/\/ $admin_email \u53ef\u6539\u4e3a\u4f60\u6307\u5b9a\u7684 e-mail.\r\n  $comment = get_comment($comment_id);\r\n  $comment_author_email = trim($comment-&gt;comment_author_email);\r\n  $parent_id = $comment-&gt;comment_parent ? $comment-&gt;comment_parent : '';\r\n  $to = $parent_id ? trim(get_comment($parent_id)-&gt;comment_author_email) : '';\r\n  $spam_confirmed = $comment-&gt;comment_approved;\r\n  if (($parent_id != '') &amp;&amp; ($spam_confirmed != 'spam') &amp;&amp; ($to != $admin_email) &amp;&amp; ($comment_author_email == $admin_email)) {\r\n    \/* \u4e0a\u9762\u7684\u5224\u65ad\u5f0f,\u51b3\u5b9a\u53d1\u51fa\u90ae\u4ef6\u7684\u5fc5\u8981\u6761\u4ef6:\r\n    ($parent_id != '') &amp;&amp; ($spam_confirmed != 'spam'): \u56de\u590d\u7684, \u800c\u4e14\u4e0d\u662f spam \u624d\u53ef\u53d1, \u5fc5\u9700!!\r\n    ($to != $admin_email) : \u4e0d\u53d1\u7ed9 admin.\r\n    ($comment_author_email == $admin_email) : \u53ea\u6709 admin \u7684\u56de\u590d\u624d\u53ef\u53d1.\r\n    \u53ef\u89c6\u4e2a\u4eba\u9700\u4fee\u6539\u4e0a\u9762\u7684\u6761\u4ef6.\r\n    *\/\r\n    $wp_email = 'no-reply@' . preg_replace('#^www\\.#', '', strtolower($_SERVER['SERVER_NAME'])); \/\/ e-mail \u53d1\u51fa\u70b9, no-reply \u53ef\u6539\u4e3a\u53ef\u7528\u7684 e-mail.\r\n    $subject = '\u60a8\u5728 [' . get_option(\"blogname\") . '] \u7684\u7559\u8a00\u6709\u4e86\u56de\u590d';\r\n    $message = '\r\n    &lt;div style=\" border:1px solid #d8e3e8; color:#111; padding:0 15px; -moz-border-radius:5px; -webkit-border-radius:5px; -khtml-border-radius:5px;\"&gt;\r\n      &lt;p&gt;' . trim(get_comment($parent_id)-&gt;comment_author) . ', \u60a8\u597d!&lt;\/p&gt;\r\n      &lt;p&gt;\u60a8\u66fe\u5728\u300a' . get_the_title($comment-&gt;comment_post_ID) . '\u300b\u7684\u7559\u8a00:&lt;br \/&gt;'\r\n       . trim(get_comment($parent_id)-&gt;comment_content) . '&lt;\/p&gt;\r\n      &lt;p&gt;' . trim($comment-&gt;comment_author) . ' \u7ed9\u60a8\u7684\u56de\u590d:&lt;br \/&gt;'\r\n       . trim($comment-&gt;comment_content) . '&lt;br \/&gt;&lt;\/p&gt;\r\n      &lt;p&gt;\u60a8\u53ef\u4ee5\u70b9\u51fb \u67e5\u770b\u56de\u590d\u7684\u5b8c\u6574\u5167\u5bb9&lt;\/p&gt;\r\n      &lt;p&gt;\u8fd8\u8981\u518d\u5ea6\u5149\u4e34 ' . get_option('blogname') . '&lt;\/p&gt;\r\n      &lt;p&gt;(\u6b64\u90ae\u4ef6\u7531\u7cfb\u7edf\u81ea\u52a8\u53d1\u9001\uff0c\u8bf7\u52ff\u56de\u590d.)&lt;\/p&gt;\r\n    &lt;\/div&gt;';\r\n    $from = \"From: \\\"\" . get_option('blogname') . \"\\\" &lt;$wp_email&gt;\";\r\n    $headers = \"$from\\nContent-Type: text\/html; charset=\" . get_option('blog_charset') . \"\\n\";\r\n    wp_mail( $to, $subject, $message, $headers );\r\n    \/\/echo 'mail to ', $to, '&lt;br\/&gt; ' , $subject, $message; \/\/ for testing\r\n  }\r\n}\r\nadd_action('comment_post', 'comment_mail_notify');\r\n\/\/ -- END ----------------------------------------<\/pre>\n<p>\u5bf9\u4ee3\u7801\u611f\u5174\u8da3\u7684\u53ef\u4ee5<a href=\"https:\/\/www.cnblogs.com\/shenjieblog\/p\/5061059.html\" target=\"_blank\" rel=\"noopener noreferrer\">\u70b9\u51fb\u8fd9\u91cc\u53bb\u7533\u6770\u535a\u5ba2\u770b\u770b<\/a>\uff0c\u5199\u5f97\u8fd8\u7b97\u8be6\u7ec6\u3002<\/p>\n<p>\u4e0d\u8fc7\u8fd9\u4e2a\u4ee3\u7801\u5728\u90e8\u5206\u4e3b\u9898\u91cc\u9762\u4e0d\u4f1a\u8d77\u4f5c\u7528\uff0c\u6240\u4ee5\u5976\u7238\u63a8\u8350\u4f7f\u7528Wenprise Better Emails\u8fd9\u6b3eWordPress\u8bc4\u8bba\u90ae\u4ef6\u901a\u77e5\u63d2\u4ef6\u6765\u89e3\u51b3\u3002<\/p>\n<h3>\u63d2\u4ef6\u7248\u65b9\u6cd5\uff08\u63a8\u8350\uff09<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-901\" src=\"https:\/\/edgeone.naibabiji.com\/wp-content\/uploads\/2019\/05\/1557570540-naibabiji.com_2019-05-11_18-14-10.jpg\" alt=\"WordPress\u8bc4\u8bba\u90ae\u4ef6\u901a\u77e5\" width=\"606\" height=\"371\" \/><\/p>\n<p>Wenprise Better Emails\u53ef\u4ee5\u7f8e\u5316 WordPress \u8bc4\u8bba\u5ba1\u6838\u901a\u77e5\u90ae\u4ef6\uff0c\u8bc4\u8bba\u901a\u77e5\u6587\u7ae0\u4f5c\u8005\u7684\u90ae\u4ef6\uff0c\u589e\u52a0\u56de\u590d\u8bc4\u8bba\u65f6\uff0c\u53d1\u9001\u90ae\u4ef6\u901a\u77e5\u7ed9\u8bc4\u8bba\u4f5c\u8005\u7684\u529f\u80fd\u3002<\/p>\n<p>\u5976\u7238\u63a8\u8350\u8fd9\u6b3eWenprise Better Emails\u63d2\u4ef6\u7684\u539f\u56e0\u6709\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n<ol>\n<li>\u80fd\u5b9e\u73b0\u8bc4\u8bba\u65f6\u90ae\u4ef6\u56de\u590d\u901a\u77e5\uff0c\u5b89\u88c5\u5373\u7528\uff0c\u9002\u5408\u65b0\u624b\uff1b<\/li>\n<li>\u56fd\u4eba\u5236\u4f5c\u7684\u63d2\u4ef6\uff0c\u7b26\u5408\u4f7f\u7528\u4e60\u60ef\uff0c\u754c\u9762\u4e5f\u6f02\u4eae\uff1b<\/li>\n<li>\u5e26\u6709\u53d6\u6d88\u8ba2\u9605\u529f\u80fd\uff0c\u80fd\u51cf\u5c11\u90ae\u4ef6\u88ab\u5224\u5b9a\u4e3a\u5783\u573e\u90ae\u4ef6\u7684\u51e0\u7387\u3002<\/li>\n<\/ol>\n<p>\u63d2\u4ef6\u5b89\u88c5\u5730\u5740\uff1a<a href=\"https:\/\/wordpress.org\/plugins\/wenprise-better-emails\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/wordpress.org\/plugins\/wenprise-better-emails\/<\/a><\/p>\n<h2>\u4ee3\u7801\u548c\u63d2\u4ef6\u90fd\u4e0d\u80fd\u7528\uff1f<\/h2>\n<p>\u4f7f\u7528\u8bc4\u8bba\u90ae\u4ef6\u901a\u77e5\u6709\u4e00\u4e2a\u524d\u63d0\u6761\u4ef6\uff0c\u5c31\u662f\u4f60\u7684\u670d\u52a1\u5668\u53ef\u4ee5\u53d1\u9001\u90ae\u4ef6\u3002<\/p>\n<p>\u800c\u5b9e\u9645\u4e0a\u5927\u591a\u6570\u4e3b\u673a\u90fd\u4e0d\u652f\u6301\u76f4\u63a5\u53d1\u9001\u90ae\u4ef6\u7684\uff0c\u6240\u4ee5\u6211\u4eec\u9700\u8981\u501f\u52a9\u7b2c\u4e09\u65b9\u63d2\u4ef6\u6765\u5b9e\u73b0\u4e3b\u673a\u53d1\u9001\u90ae\u4ef6\uff0c\u4e5f\u5c31\u662f\u4f7f\u7528SMTP\u7684\u65b9\u5f0f\u6765\u53d1\u9001\u90ae\u4ef6\uff0c\u4f60\u53ef\u4ee5\u53c2\u8003\u4e0b\u9762\u7684\u6587\u7ae0\u3002<\/p>\n<p><a href=\"https:\/\/blog.naibabiji.com\/tutorial\/wordpress-smtp-cha-jian.html\">\u6211\u4f7f\u7528\u8fc7\u7684WordPress\u90ae\u4ef6\u63d2\u4ef6\u63a8\u8350<\/a><\/p>\n<p>\u53e6\u5916\uff0c<a href=\"https:\/\/cn.wordpress.org\/plugins\/comment-approved\/\" target=\"_blank\" rel=\"noopener noreferrer\">Comment Approved<\/a>\u8fd9\u6b3e\u63d2\u4ef6\u5976\u7238\u4e5f\u7528\u8fc7\uff0c\u662f\u8bc4\u8bba\u5ba1\u6838\u540e\u7ed9\u5bf9\u65b9\u53d1\u90ae\u4ef6\u544a\u8bc9\u4ed6\u8bc4\u8bba\u5ba1\u6838\u901a\u8fc7\u4e86\u3002<\/p>\n<p>&nbsp;<\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-center kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;center&quot;,&quot;id&quot;:&quot;339&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;2&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;4&quot;,&quot;greet&quot;:&quot;\u7ed9\u672c\u6587\u6253\u5206 post&quot;,&quot;legend&quot;:&quot;5\\\/5 - (2 votes)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;\u7ed9WordPress\u6dfb\u52a0\u8bc4\u8bba\u90ae\u4ef6\u56de\u590d\u901a\u77e5\u7684\u4e24\u79cd\u65b9\u6cd5&quot;,&quot;width&quot;:&quot;138&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 138px;\">\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            5\/5 - (2 votes)    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>WordPress\u8bc4\u8bba\u90ae\u4ef6\u901a\u77e5\u5976\u7238\u89c9\u5f97\u662f\u4e00\u4e2a\u975e\u5e38\u6709\u7528\u7684\u529f\u80fd\uff0c\u80fd\u591f\u589e\u52a0\u4f60\u548c\u7f51\u53cb\u7684\u4e92\u52a8\u3002 \u8bd5\u60f3\u4e00\u4e0b\uff0c\u5982\u679c\u4f60\u5728\u672c\u6587\u95ee [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":902,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"\u7ed9WordPress\u6dfb\u52a0\u8bc4\u8bba\u90ae\u4ef6\u56de\u590d\u901a\u77e5\u7684\u4e24\u79cd\u65b9\u6cd5 - \u5976\u7238\u5efa\u7ad9\u7b14\u8bb0","description":"WordPress\u8bc4\u8bba\u90ae\u4ef6\u901a\u77e5\u5976\u7238\u89c9\u5f97\u662f\u4e00\u4e2a\u975e\u5e38\u6709\u7528\u7684\u529f\u80fd\uff0c\u80fd\u591f\u589e\u52a0\u4f60\u548c\u7f51\u53cb\u7684\u4e92\u52a8\u3002 \u8bd5\u60f3\u4e00\u4e0b\uff0c\u5982\u679c\u4f60\u5728\u672c\u6587\u95ee\u6211\uff1a\u201c\u6211\u8ddf\u7740\u4f60\u7684\u6559\u7a0b\u64cd\u4f5c\u4e86\uff0c\u600e\u4e48\u8bc4\u8bba\u8fd8\u662f\u6ca1\u6709\u90ae\u4ef6\u901a\u77e5\u5462\uff1f\u201d\uff0c\u4f60\u662f\u613f\u610f\u6bcf\u5929\u90fd\u6765\u5237\u65b0\u51e0\u904d\u6587\u7ae0\u770b\u6211\u56de\u590d\u4f60\u6ca1\u6709\uff0c\u8fd8\u662f\u613f\u610f\u5f53\u6211\u8bc4\u8bba\u4f60\u8fc7\u540e\u53d1\u9001\u90ae\u4ef6\u544a\u8bc9\u4f60\uff0c\u55e8\uff0c\u4f60\u7684\u8bc4\u8bba\u6709\u4eba\u56de\u590d\u4e86\u54e6\u3002 \u4ee3\u7801\u5b9e\u73b0\u65b9\u6cd5 \u6709\u4e24\u79cd\u65b9\u6cd5\u53ef\u4ee5\u5b9e\u73b0Word"},"footnotes":""},"categories":[381,141],"tags":[],"class_list":["post-339","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-plugins","category-tutorial"],"_links":{"self":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts\/339","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/comments?post=339"}],"version-history":[{"count":0,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts\/339\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/media\/902"}],"wp:attachment":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/media?parent=339"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/categories?post=339"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/tags?post=339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}