调用网站最新文章:
///你可以在这里写下你需要的样式
<a href=/cms/" target="_blank">
调用随机文章:
query_posts(showposts=10&orderby=rand);
在某一分类下调用最新文章:
query_posts(showposts=10&cat=1); //cat=1为调用ID文章分类为1
排除某一分类下的文章:
query_posts(showposts=10&cat=-1); //cat=-1为排除ID文章分类为1
时间:2019-02-18 15:56:52
调用网站最新文章:
///你可以在这里写下你需要的样式
<a href=/cms/" target="_blank">
调用随机文章:
query_posts(showposts=10&orderby=rand);
在某一分类下调用最新文章:
query_posts(showposts=10&cat=1); //cat=1为调用ID文章分类为1
排除某一分类下的文章:
query_posts(showposts=10&cat=-1); //cat=-1为排除ID文章分类为1