I’m editing a theme and I’m having some problems…
I’m using multiple loops in index.php file and on the homepage everything is exactly how I would like it to be displayed:
1. Latest post in a box (Headline)
2. The 8 latest posts (excluding the latest post)
But the real problems starts when I go to page 2…
Then I’ll get only the 8 latest posts while I should get more old posts…
I assume that that this has something to do with this:
$page = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
Does anyone have a clue how to get this right?
For a copy of the index.php Click here.
- The topic ‘Using Multiple Loops in Index.php’ is closed to new replies.