0
I’m trying to make custom posts in my Wordpress theme, however I’m having a problem. I want to pick up seven posts on the main page, my index. However the first post I will style differently from the other six. I’m repeating the query_posts(). At first I put like this:
I’m using this to pick up the first post.
query_posts('posts_per_page=1')
if (have_posts()) while (have_posts() : the_post();
And for the others I’m repeating the code with a different parameter.
query_posts('posts_per_page=5')
if (have_posts()) while (have_posts() : the_post();
The problem is that the first post is repeating itself in the two blocks. I was wondering if there is any parameter that I can use in the second block to take a "jump" start picking up posts from the 2.