{"id":2819,"date":"2019-06-25T00:55:52","date_gmt":"2019-06-24T16:55:52","guid":{"rendered":"https:\/\/www.baishitou.cn\/?p=2819"},"modified":"2019-06-25T00:55:52","modified_gmt":"2019-06-24T16:55:52","slug":"%e7%bb%87%e6%a2%a6dedecms%e6%96%87%e7%ab%a0%e5%88%97%e8%a1%a8%e9%a1%b5dedelist%e6%a0%87%e7%ad%be%e6%8c%89%e9%a1%b6%e8%b8%a9%e6%95%b0%e6%8e%92%e5%ba%8f","status":"publish","type":"post","link":"https:\/\/www.baishitou.cn\/2819.html","title":{"rendered":"\u7ec7\u68a6dedecms\u6587\u7ae0\u5217\u8868\u9875dede:list\u6807\u7b7e\u6309\u9876\u8e29\u6570\u6392\u5e8f"},"content":{"rendered":"
\u7ec7\u68a6dedecms\u5217\u8868\u9875dede:list\u6807\u7b7e\u9ed8\u8ba4\u7684\u6392\u5e8f\u65b9\u6cd5\u53ea\u6709\u201c\u53d1\u5e03\u65e5\u671f\u201d\uff0c\u201c\u4fee\u6539\u65e5\u671f\u201d\uff0c\u201c\u70b9\u51fb\u201d\u8fd9\u51e0\u79cd\u6392\u5e8f\u65b9\u5f0f\uff0c\u6709\u6ca1\u6709\u6309\u9876\u8e29\u6570\u6765\u6392\u5e8f\u5462\uff1f\u5f53\u7136\u6709\u5566\uff0c\u5b9e\u73b0\u65b9\u6cd5\uff1a<\/p>\n
\u6253\u5f00\/include\/arc.listview.class.php\uff0c\u641c\u7d22<\/p>\n
else {\r\n $ordersql=\" ORDER BY arc.sortrank $orderWay\";\r\n }<\/code><\/pre>\n\u5728\u5b83\u4e0a\u9762\u6dfb\u52a0<\/p>\n
else if($orderby==\"goodpost\") {\r\n $ordersql = \" ORDER BY arc.goodpost $orderWay\";\r\n }<\/code><\/pre>\n\u7ee7\u7eed\u641c\u7d22<\/p>\n
if(preg_match('\/hot|click|lastpost\/', $orderby))<\/code><\/pre>\n\u66ff\u6362\u6210\uff1a<\/p>\n
if(preg_match('\/hot|click|lastpost|goodpost\/', $orderby))<\/code><\/pre>\n\u5217\u8868\u8c03\u7528\uff1a<\/p>\n
{dede:list pagesize='20' orderby='goodpost'}<\/code><\/pre>\n\u540c\u7406\uff0c\u6b64\u65b9\u6cd5\u4e5f\u53ef\u5b9e\u73b0\u6309\u8e29\u7684\u6570\u6392\u5e8f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
\u7ec7\u68a6dedecms\u5217\u8868\u9875dede:list\u6807\u7b7e\u9ed8\u8ba4\u7684\u6392\u5e8f\u65b9\u6cd5\u53ea\u6709\u201c\u53d1\u5e03\u65e5\u671f\u201d\uff0c\u201c\u4fee\u6539\u65e5\u671f\u201d\uff0c\u201c\u70b9\u51fb\u201d\u8fd9\u51e0\u79cd\u6392\u5e8f […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[43,661,180],"class_list":["post-2819","post","type-post","status-publish","format-standard","hentry","category-web","tag-dedecms","tag-dedelist","tag-180"],"_links":{"self":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/2819","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/comments?post=2819"}],"version-history":[{"count":0,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/2819\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/media?parent=2819"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/categories?post=2819"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/tags?post=2819"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}