﻿{"id":2562,"date":"2023-04-14T23:15:28","date_gmt":"2023-04-14T15:15:28","guid":{"rendered":"http:\/\/81.70.49.155\/?p=2562"},"modified":"2023-04-14T23:15:28","modified_gmt":"2023-04-14T15:15:28","slug":"%e8%bd%acwordpress%e4%b8%bb%e9%a2%98%e8%af%84%e8%ae%ba%e4%b8%ad%e6%b7%bb%e5%8a%a0%e5%9b%9e%e5%a4%8d%e7%9a%84%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"http:\/\/81.70.49.155\/?p=2562","title":{"rendered":"[\u8f6c]wordpress\u4e3b\u9898\u8bc4\u8bba\u4e2d\u6dfb\u52a0\u56de\u590d\u7684\u65b9\u6cd5"},"content":{"rendered":"<p style=\"color:#374151;font-family:&quot;font-size:16px;background-color:#FFFFFF;\">\n\t\u539f\u6587\u5730\u5740\u4e3a\uff1ahttps:\/\/www.jb51.net\/cms\/263369.html\n<\/p>\n<p style=\"color:#374151;font-family:&quot;font-size:16px;background-color:#FFFFFF;\">\n\t\n<\/p>\n<p style=\"color:#374151;font-family:&quot;font-size:16px;background-color:#FFFFFF;\">\n\t\u672c\u6587\u5b9e\u4f8b\u8bb2\u8ff0\u4e86wordpress\u4e3b\u9898\u8bc4\u8bba\u4e2d\u6dfb\u52a0\u56de\u590d\u7684\u65b9\u6cd5\u3002\u5206\u4eab\u7ed9\u5927\u5bb6\u4f9b\u5927\u5bb6\u53c2\u8003\u3002\u5177\u4f53\u5982\u4e0b\uff1a<span style=\"line-height:30px;\">\u6587\u7ae0\u6765\u6e90\u5730\u5740https:\/\/www.yii666.com\/blog\/318298.html<\/span>\n<\/p>\n<p style=\"color:#374151;font-family:&quot;font-size:16px;background-color:#FFFFFF;\">\n\t\u5f88\u591a\u670b\u53cb\u8981\u7ed9\u81ea\u5df1\u4e3b\u9898\u8bc4\u8bba\u52a0\u4e2a@reply\u56de\u590d\u6548\u679c,\u90fd\u4f1a\u9009\u62e9\u7528\u63d2\u4ef6,\u5176\u5b9e\u6211\u4eec\u53ef\u4ee5\u5b8c\u5168\u4fee\u6539\u6e90\u7801\u6765\u5b9e\u73b0,\u8fd9\u91cc\u5c31\u6765\u7ed9\u5927\u5bb6\u4ecb\u7ecdwordpress\u4e3b\u9898\u8bc4\u8bba\u4e2d\u600e\u4e48\u6dfb\u52a0@reply\u56de\u590d.\n<\/p>\n<p style=\"color:#374151;font-family:&quot;font-size:16px;background-color:#FFFFFF;\">\n\t\u65b9\u6cd5\u5982\u4e0b:<a class=\"ixjf89\" href=\"https:\/\/www.yii666.com\/\">\u6587\u7ae0\u6765\u6e90\u7ad9\u70b9https:\/\/www.yii666.com\/<\/a>\n<\/p>\n<p style=\"color:#374151;font-family:&quot;font-size:16px;background-color:#FFFFFF;\">\n\t\u4e00\u3001\u5728\u8bc4\u8bba\u9875comments.php\u6dfb\u52a0\u5982\u4e0bJS\u4ee3\u7801:\n<\/p>\n<div class=\"msgheader\" style=\"color:#374151;font-family:&quot;font-size:16px;background-color:#FFFFFF;\">\n<div class=\"right\">\n\t\t<span class=\"copybut\" style=\"line-height:30px;\"><u>\u590d\u5236\u4ee3\u7801<\/u><\/span>\n\t<\/div>\n<p>\u4ee3\u7801\u5982\u4e0b:\n<\/p><\/div>\n<div class=\"msgborder\" id=\"phpcode8\" style=\"color:#374151;font-family:&quot;font-size:16px;background-color:#FFFFFF;\">\n\t&lt;script language=\"javascript\"&gt;<br \/>\n\/\/&lt;![CDATA[<br \/>\nfunction to_reply(commentID,author) {<br \/>\nvar nNd='@'+author+':';<br \/>\nvar myField;<br \/>\nif (document.getElementById('comment') &amp;&amp; document.getElementById('comment').type == 'textarea') {<br \/>\nmyField = document.getElementById('comment');<br \/>\n} else {<br \/>\nreturn false;<br \/>\n}<br \/>\nif (document.selection) {<br \/>\nmyField.focus();<br \/>\nsel = document.selection.createRange();<br \/>\nsel.text = nNd;<br \/>\nmyField.focus();<br \/>\n}<br \/>\nelse if (myField.selectionStart || myField.selectionStart == '0') {<br \/>\nvar startPos = myField.selectionStart;<br \/>\nvar endPos = myField.selectionEnd;<br \/>\nvar cursorPos = endPos;<br \/>\nmyField.value = myField.value.substring(0, startPos)<br \/>\n+ nNd<br \/>\n+ myField.value.substring(endPos, myField.value.length);<br \/>\ncursorPos += nNd.length;<br \/>\nmyField.focus();<br \/>\nmyField.selectionStart = cursorPos;<br \/>\nmyField.selectionEnd = cursorPos;<br \/>\n}<br \/>\nelse {<br \/>\nmyField.value += nNd;<br \/>\nmyField.focus();<br \/>\n}<br \/>\n}<br \/>\n\/\/]]&gt;<br \/>\n&lt;\/script&gt;\n<\/div>\n<p>\n<span style=\"color:#374151;font-family:&quot;font-size:16px;background-color:#FFFFFF;\">\u4e8c\u3001\u5728functions.php\u4e2d\u52a0\u5165\u5982\u4e0b\u4ee3\u7801<\/span><\/p>\n<div class=\"msgheader\" style=\"color:#374151;font-family:&quot;font-size:16px;background-color:#FFFFFF;\">\n<div class=\"right\">\n\t\t<span class=\"copybut\" style=\"line-height:30px;\"><u>\u590d\u5236\u4ee3\u7801<\/u><\/span>\n\t<\/div>\n<p>\u4ee3\u7801\u5982\u4e0b:\n<\/p><\/div>\n<div class=\"msgborder\" id=\"phpcode9\" style=\"color:#374151;font-family:&quot;font-size:16px;background-color:#FFFFFF;\">\n\t\/\/\uff20reply\u56de\u590d\u529f\u80fd<br \/>\nfunction to_reply() {<br \/>\n?&gt;<br \/>\n&lt;a onclick='to_reply(\"&lt;?php comment_ID() ?&gt;\", \"&lt;?php comment_author();?&gt;\")' href=\"#respond\" style=\"cursor:pointer;\"\/&gt;[@reply]&lt;\/a&gt;<br \/>\n&lt;?php<br \/>\n}<br \/>\n?&gt;\n<\/div>\n<p>\n<span style=\"color:#374151;font-family:&quot;font-size:16px;background-color:#FFFFFF;\">\u4e09\u3001\u5728\u8bc4\u8bba\u9875<\/span><\/p>\n<div class=\"msgheader\" style=\"color:#374151;font-family:&quot;font-size:16px;background-color:#FFFFFF;\">\n<div class=\"right\">\n\t\t<span class=\"copybut\" style=\"line-height:30px;\"><u>\u590d\u5236\u4ee3\u7801<\/u><\/span>\n\t<\/div>\n<p>\u4ee3\u7801\u5982\u4e0b:\n<\/p><\/div>\n<div class=\"msgborder\" id=\"phpcode10\" style=\"color:#374151;font-family:&quot;font-size:16px;background-color:#FFFFFF;\">\n\t&lt;?php comment_author_link() ?&gt;\n<\/div>\n<p><span style=\"color:#374151;font-family:&quot;font-size:16px;background-color:#FFFFFF;\">\u540e\u8fb9\u6dfb\u52a0\u201d\u56de\u590d\u6309\u94ae\u201d,\u4ee3\u7801\u5982\u4e0b:<\/span><\/p>\n<div class=\"msgheader\" style=\"color:#374151;font-family:&quot;font-size:16px;background-color:#FFFFFF;\">\n<div class=\"right\">\n\t\t<span class=\"copybut\" style=\"line-height:30px;\"><u>\u590d\u5236\u4ee3\u7801<\/u><\/span>\n\t<\/div>\n<p>\u4ee3\u7801\u5982\u4e0b:\n<\/p><\/div>\n<div class=\"msgborder\" id=\"phpcode11\" style=\"color:#374151;font-family:&quot;font-size:16px;background-color:#FFFFFF;\">\n\t&lt;strong&gt;&lt;?php to_reply(); ?&gt;&lt;\/strong&gt;\n<\/div>\n<p style=\"color:#374151;font-family:&quot;font-size:16px;background-color:#FFFFFF;\">\n\t\u5e0c\u671b\u672c\u6587\u6240\u8ff0\u5bf9\u5927\u5bb6\u7684WordPress\u5efa\u7ad9\u6709\u6240\u5e2e\u52a9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u539f\u6587\u5730\u5740\u4e3a\uff1ahttps:\/\/www.jb51.net\/cms\/263369.html \u672c\u6587\u5b9e\u4f8b\u8bb2\u8ff0\u4e86wordp &hellip; <a href=\"http:\/\/81.70.49.155\/?p=2562\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201c[\u8f6c]wordpress\u4e3b\u9898\u8bc4\u8bba\u4e2d\u6dfb\u52a0\u56de\u590d\u7684\u65b9\u6cd5\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"views":948,"_links":{"self":[{"href":"http:\/\/81.70.49.155\/index.php?rest_route=\/wp\/v2\/posts\/2562"}],"collection":[{"href":"http:\/\/81.70.49.155\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/81.70.49.155\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/81.70.49.155\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/81.70.49.155\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2562"}],"version-history":[{"count":1,"href":"http:\/\/81.70.49.155\/index.php?rest_route=\/wp\/v2\/posts\/2562\/revisions"}],"predecessor-version":[{"id":2563,"href":"http:\/\/81.70.49.155\/index.php?rest_route=\/wp\/v2\/posts\/2562\/revisions\/2563"}],"wp:attachment":[{"href":"http:\/\/81.70.49.155\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2562"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/81.70.49.155\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2562"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/81.70.49.155\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2562"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}