{"id":2257,"date":"2013-08-20T10:38:08","date_gmt":"2013-08-20T02:38:08","guid":{"rendered":"https:\/\/sdeno.com\/?p=2257"},"modified":"2013-08-16T15:38:50","modified_gmt":"2013-08-16T07:38:50","slug":"wordpress%e4%bc%81%e4%b8%9a%e4%b8%bb%e9%a2%98%e9%9d%a2%e5%8c%85%e5%b1%91%e5%af%bc%e8%88%aa%e7%bb%88%e6%9e%81%e5%86%99%e6%b3%95","status":"publish","type":"post","link":"https:\/\/sdeno.com\/?p=2257","title":{"rendered":"wordpress\u4f01\u4e1a\u4e3b\u9898\u9762\u5305\u5c51\u5bfc\u822a\u7ec8\u6781\u5199\u6cd5"},"content":{"rendered":"<p>wordpress\u4f01\u4e1a\u4e3b\u9898\u9762\u5305\u5c51\u5bfc\u822a\u7ec8\u6781\u5199\u6cd5\uff1a\u6211\u4eec\u5728\u5236\u4f5cwordpress\u4f01\u4e1a\u4e3b\u9898\u7684\u65f6\u5019\uff0c\u5f80\u5f80\u9700\u8981\u9762\u5305\u5c51\u5bfc\u822a\uff0c\u4ee5\u5f80\u6211\u4eec\u53ea\u662f\u7b80\u5355\u7684\u7528\u4e00\u4e9b\u4ee3\u7801\u6765\u8c03\u7528\uff0c\u6587\u7ae0\u9875\u548c\u5206\u7c7b\u9875\u4ee5\u53ca\u72ec\u7acb\u9875\u9762\u7684\u9762\u5305\u5c51\u5bfc\u822a\u5199\u6cd5\u90fd\u4e0d\u4e00\u6837\uff0c\u8fd9\u7ed9wordpress\u4e3b\u9898\u7f51\u7ad9\u5236\u4f5c\u5e26\u6765\u9ebb\u70e6\uff0c\u6709\u7c73\u6709\u4e00\u79cd\u7b80\u5355\u7684\u4ee3\u7801\u81ea\u5df1\u5224\u65ad\u662f\u5426\u4e3a\u6587\u7ae0\u6216\u8005\u5206\u7c7b\uff0c\u7136\u540e\u667a\u80fd\u663e\u793a\u9762\u5305\u5c51\u5bfc\u822a\u5462\uff1f\u5965\u592b\u4eca\u5929\u7ed9\u5927\u5bb6\u5206\u4eab\u4e00\u6bb5wordpress\u4f01\u4e1a\u4e3b\u9898\u9762\u5305\u5c51\u5bfc\u822a\u7ec8\u6781\u5199\u6cd5\uff1a<\/p>\n<p>[code]&lt;div class=\u201dposition\u201d&gt;<br \/>\n\u5f53\u524d\u4f4d\u7f6e\uff1a&lt;a href=\u201d&lt;?php bloginfo(\u2018url\u2019); ?&gt;\u201d&gt;&lt;?php bloginfo(\u2018name\u2019); ?&gt;&lt;\/a&gt; &gt;<br \/>\n&lt;?php if( is_single() ){ $categorys = get_the_category(); $category = $categorys[0]; echo( get_category_parents($category-&gt;term_id,true,\u2019 &gt;\u2019) );echo $s.\u2019 \u67e5\u770b\u6587\u7ae0\u2019; }<br \/>\nelseif ( is_page() ){ the_title(); }<br \/>\nelseif ( is_category() ){ single_cat_title(); }<br \/>\nelseif ( is_tag() ){ single_tag_title(); }<br \/>\nelseif ( is_day() ){ the_time(\u2018Y\u5e74Fj\u65e5\u2019); }<br \/>\nelseif ( is_month() ){ the_time(\u2018Y\u5e74F\u2019); }<br \/>\nelseif ( is_year() ){ the_time(\u2018Y\u5e74\u2019); }<br \/>\nelseif ( is_search() ){ echo $s.\u2019 \u7684\u641c\u7d22\u7ed3\u679c\u2019; } ?&gt;<br \/>\n&lt;\/div&gt;[\/code]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>wordpress\u4f01\u4e1a\u4e3b\u9898\u9762\u5305\u5c51\u5bfc\u822a\u7ec8\u6781\u5199\u6cd5\uff1a\u6211\u4eec\u5728\u5236\u4f5cwordpress\u4f01\u4e1a\u4e3b\u9898\u7684\u65f6\u5019\uff0c\u5f80\u5f80\u9700\u8981\u9762\u5305\u5c51\u5bfc\u822a\uff0c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,11],"tags":[],"class_list":["post-2257","post","type-post","status-publish","format-standard","hentry","category-wordpress","category-11"],"_links":{"self":[{"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/posts\/2257","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sdeno.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2257"}],"version-history":[{"count":0,"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/posts\/2257\/revisions"}],"wp:attachment":[{"href":"https:\/\/sdeno.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sdeno.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sdeno.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}