一。用offset偏移调用文章,这个我认为是比较好的,经常用。容易控制
1. 第一个post显示5篇
query_posts('showpost'= 5);
2.那么第二个post显示除上面显示过的6篇
query_posts('showpost'= 6 & 'offset'=5);
二、用置顶文章
1.第一个Post显示置顶文章
query_posts('showpost'= 5 , 'post__in' => get_option('sticky_posts'));
2.第二个post显示除置顶文章外的文章
query_posts('showpost'= 5 , 'post__not_in' => get_option('sticky_posts'));
三、用分类,标签来区分,每个post id不一样就好
query_posts('cat'= xxxx);
query_posts('tag'= xxxx);