[Theme: Suburbia] Get more posts on front page?
-
I have tried eding the following code so it’s set to this.
<?php include (TEMPLATEPATH . "/related.php"); ?> <?php if ( $paged == 0 ) { $offset1 = 0; $offset2 = 4; } else { $off = $paged - 1; $offset1 = $off * 9; $offset2 = $off * 9 + 4; } ?> <!-- LOOP1 --> <?php if (have_posts()) : ?> <?php query_posts('posts_per_page=4&offset='.$offset1); ?>
But I can’t seem to alter it without repeating posts. How do I fix it to get all the posts on the main page?
- The topic ‘[Theme: Suburbia] Get more posts on front page?’ is closed to new replies.