Posts Per Page
-
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:
<?php query_posts(‘posts_per_page=1’);?>
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: https://www.mentalhealthlearning.com
Thanks,
Jacquie
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Posts Per Page’ is closed to new replies.