wordpress真是强大,最近在模仿一个网站的时候遇到了一些问题,特记录一下。 query_posts() 这个函数的作用就在循环输出文章的时候,来选择我们特定条件下的文章,例如: query_posts(‘cat=4’) 只显示分类目录ID为4下的文章 Read the rest of this entry
wordpress真是强大,最近在模仿一个网站的时候遇到了一些问题,特记录一下。 query_posts() 这个函数的作用就在循环输出文章的时候,来选择我们特定条件下的文章,例如: query_posts(‘cat=4’) 只显示分类目录ID为4下的文章 Read the rest of this entry