I would like to have just 1 post on my index page and up to 7 posts on my archive pages. I changed my posts per page in my admin section to 7 and then added the following line of code (before my loop) on my index page:
This seemed to achieve my goal but when I went to all my individual post pages, the pages that end in “/?p=9” (a different number for each page), all the pages bring back the same post that is on my index page.
I’ve been working most of the morning at this and would love any help that someone can offer.
You can view the site at: http://www.mentalhealthlearning.com
- The topic ‘Posts Per Page’ is closed to new replies.