[Resolved] First page 9 post, the others 10?
I am building a theme with two columns.
Every “page” has 10 posts on it. But I want the first page to have 9 posts on it, so I can use one of the post spaces for other things.
If I do this the following way, the first page will show post 1 t/m 9 and the second page will show post number 11 t/m 20.
<?php $i=1; while ( (have_posts()) && ($i<11) ): the_post(); ?> <div class="box<?php if($i%2==0) echo '-second'; ?>"> <?php /* The content here */ ?>
I totally understand why this happenes, but I can’t seem te figure out how to do it the right way.
My best “guess” is that I need to use this:
But how, I don’t know.
Can someone help me out here?
- The topic ‘[Resolved] First page 9 post, the others 10?’ is closed to new replies.