{"id":272,"date":"2012-12-21T16:34:39","date_gmt":"2012-12-21T16:34:39","guid":{"rendered":"https:\/\/shan.info\/new\/%e5%9c%a8%e4%bb%bb%e6%84%8f%e4%bd%8d%e7%bd%ae%e6%8f%92%e5%85%a5%e5%b0%8f%e5%b7%a5%e5%85%b7-wordpress%e4%b8%bb%e9%a2%98%e4%bf%ae%e6%94%b9-%e8%ae%a9%e4%b8%bb%e9%a2%98%e6%94%af%e6%8c%81%e5%b0%8f%e5%b7%a5\/"},"modified":"2012-12-21T16:34:39","modified_gmt":"2012-12-21T16:34:39","slug":"%e5%9c%a8%e4%bb%bb%e6%84%8f%e4%bd%8d%e7%bd%ae%e6%8f%92%e5%85%a5%e5%b0%8f%e5%b7%a5%e5%85%b7-wordpress%e4%b8%bb%e9%a2%98%e4%bf%ae%e6%94%b9-%e8%ae%a9%e4%b8%bb%e9%a2%98%e6%94%af%e6%8c%81%e5%b0%8f%e5%b7%a5","status":"publish","type":"post","link":"https:\/\/shan.info\/new\/%e5%9c%a8%e4%bb%bb%e6%84%8f%e4%bd%8d%e7%bd%ae%e6%8f%92%e5%85%a5%e5%b0%8f%e5%b7%a5%e5%85%b7-wordpress%e4%b8%bb%e9%a2%98%e4%bf%ae%e6%94%b9-%e8%ae%a9%e4%b8%bb%e9%a2%98%e6%94%af%e6%8c%81%e5%b0%8f%e5%b7%a5\/","title":{"rendered":"\u5728\u4efb\u610f\u4f4d\u7f6e\u63d2\u5165\u5c0f\u5de5\u5177 wordpress\u4e3b\u9898\u4fee\u6539 \u8ba9\u4e3b\u9898\u652f\u6301\u5c0f\u5de5\u5177"},"content":{"rendered":"<p>\n\t<span style=\"color: rgb(68, 68, 68); font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif; font-size: small; line-height: 20px; text-indent: 26px; background-color: rgb(244, 244, 244);\">\u8f93\u5165\u4ee5\u4e0b\u4ee3\u7801\u5230 \/wp-content\/theme\/themename\/functions.php \u5982\u679c\u6ca1\u6709\u53ef\u4ee5\u81ea\u5df1\u624b\u52a8\u521b\u5efa\u4e00\u4e2a\u3002<\/span><\/p>\n<p>\n\t&nbsp;<\/p>\n<pre class=\"brush:php\">&lt;?php \r\nif (function_exists('register_sidebar')) { \r\nregister_sidebar(array( \r\n'name' =&gt; '\u8fb9\u680f1', \/\/ \u4fa7\u8fb9\u680f 1 \u7684\u540d\u79f0 \r\n'before_widget' =&gt; '&lt;li&gt;', \/\/ widget \u7684\u5f00\u59cb\u6807\u7b7e \r\n'after_widget' =&gt; '&lt;\/li&gt;', \/\/ widget \u7684\u7ed3\u675f\u6807\u7b7e \r\n'before_title' =&gt; '&lt;h3&gt;', \/\/ \u6807\u9898\u7684\u5f00\u59cb\u6807\u7b7e \r\n'after_title' =&gt; '&lt;\/h3&gt;'\/\/ \u6807\u9898\u7684\u7ed3\u675f\u6807\u7b7e\r\n \r\n));\r\n \r\nregister_sidebar(array( \r\n'name' =&gt; '\u8fb9\u680f2', \/\/ \u4fa7\u8fb9\u680f 2 \u7684\u540d\u79f0 \r\n'before_widget' =&gt; '&lt;li&gt;', \/\/ widget \u7684\u5f00\u59cb\u6807\u7b7e \r\n'after_widget' =&gt; '&lt;\/li&gt;', \/\/ widget \u7684\u7ed3\u675f\u6807\u7b7e \r\n'before_title' =&gt; '&lt;h3&gt;', \/\/ \u6807\u9898\u7684\u5f00\u59cb\u6807\u7b7e \r\n'after_title' =&gt; '&lt;\/h3&gt;'\/\/ \u6807\u9898\u7684\u7ed3\u675f\u6807\u7b7e\r\n \r\n));\r\n \r\nregister_sidebar(array( \r\n'name' =&gt; '\u8fb9\u680f3', \/\/ \u4fa7\u8fb9\u680f 3 \u7684\u540d\u79f0 \r\n'before_widget' =&gt; '&lt;li&gt;', \/\/ widget \u7684\u5f00\u59cb\u6807\u7b7e \r\n'after_widget' =&gt; '&lt;\/li&gt;', \/\/ widget \u7684\u7ed3\u675f\u6807\u7b7e \r\n'before_title' =&gt; '&lt;h3&gt;', \/\/ \u6807\u9898\u7684\u5f00\u59cb\u6807\u7b7e \r\n'after_title' =&gt; '&lt;\/h3&gt;'\/\/ \u6807\u9898\u7684\u7ed3\u675f\u6807\u7b7e\r\n \r\n));\r\n \r\nregister_sidebar(array( \r\n'name' =&gt; '\u8fb9\u680f4', \/\/ \u4fa7\u8fb9\u680f 4 \u7684\u540d\u79f0 \r\n'before_widget' =&gt; '&lt;li&gt;', \/\/ widget \u7684\u5f00\u59cb\u6807\u7b7e \r\n'after_widget' =&gt; '&lt;\/li&gt;', \/\/ widget \u7684\u7ed3\u675f\u6807\u7b7e \r\n'before_title' =&gt; '&lt;h3&gt;', \/\/ \u6807\u9898\u7684\u5f00\u59cb\u6807\u7b7e \r\n'after_title' =&gt; '&lt;\/h3&gt;'\/\/ \u6807\u9898\u7684\u7ed3\u675f\u6807\u7b7e\r\n \r\n)); \r\n} \r\n?&gt;\r\n<\/pre>\n<p>\n\t&nbsp;<\/p>\n<p>\n\t1<span style=\"background-color: rgb(244, 244, 244); color: rgb(68, 68, 68); font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif; font-size: small; line-height: 20px; text-indent: 26px;\">\u4e4b\u540e\u6211\u4eec\u53ea\u9700\u8981\u5728\u60f3\u8981\u6dfb\u52a0\u5c0f\u5de5\u5177\u7684\u5730\u65b9\u6570\u636e\u4ee5\u4e0b\u4ee3\u7801\u3002<\/span>2<\/p>\n<pre class=\"brush:php\">&lt;?php \r\nif (!function_exists('dynamic_sidebar') || !dynamic_sidebar('\u8fb9\u680f\u540d\u79f03')): \r\n?&gt; \r\n&lt;?php \r\nendif; \r\n<\/pre>\n<p>\n\t?&gt;3<\/p>\n<p>\n\t&nbsp;<\/p>\n<p>\n\t&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8f93\u5165\u4ee5\u4e0b\u4ee3\u7801\u5230 \/wp-content\/theme\/themename\/functions.php \u5982\u679c\u6ca1\u6709\u53ef\u4ee5\u81ea\u5df1\u624b\u52a8\u521b\u5efa\u4e00\u4e2a\u3002 &nbsp; &lt;?php if (function_exists(&#8216;register_sidebar&#8217;)) { register_sidebar(array( &#8216;name&#8217; =&gt; &#8216;\u8fb9\u680f1&#8217;, \/\/ \u4fa7\u8fb9\u680f 1 \u7684\u540d\u79f0 &#8216;before_widget&#8217; =&gt; &#8216;&lt;li&gt;&#8217;, \/\/ widget \u7684\u5f00\u59cb\u6807\u7b7e &#8216;after_widget&#8217; =&gt; &#8216;&lt;\/li&gt;&#8217;, \/\/ widget \u7684\u7ed3\u675f\u6807\u7b7e &#8216;before_title&#8217; =&gt; &#8216;&lt;h3&gt;&#8217;, \/\/ \u6807\u9898\u7684\u5f00\u59cb\u6807\u7b7e &#8216;after_title&#8217; =&gt; &#8216;&lt;\/h3&gt;&#8217;\/\/ \u6807\u9898\u7684\u7ed3\u675f\u6807\u7b7e )); register_sidebar(array( &#8216;name&#8217; =&gt; &#8216;\u8fb9\u680f2&#8217;, \/\/ \u4fa7\u8fb9\u680f 2 \u7684\u540d\u79f0 &#8216;before_widget&#8217; =&gt; &#8216;&lt;li&gt;&#8217;, \/\/ widget \u7684\u5f00\u59cb\u6807\u7b7e &#8216;after_widget&#8217; =&gt; &#8216;&lt;\/li&gt;&#8217;, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[56],"tags":[],"class_list":["post-272","post","type-post","status-publish","format-standard","hentry","category-wordpress"],"_links":{"self":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/comments?post=272"}],"version-history":[{"count":0,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/272\/revisions"}],"wp:attachment":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/media?parent=272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/categories?post=272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/tags?post=272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}