Number of recent posts on the homepage
URL to the page in question:
-
It appears that I can set a maximum of 5 recent posts to show on the homepage. How can I increase this number? let’s say make it 8!
When I got to the Appearance->Theme Options->Homepage, I can only choose between 1-5. Can you let me know how to increase this number?
Thank you for your help
Rina,
Great question. You can change that number and here’s how to do that:
- Go to the appearance section and select edit to open up the theme editor.
- From the list of files on your right, choose home.php and look for this spot:
- Replace that with this:
- Save your changes.
That will display 10 posts on the home page instead of what the options page selects. If you’d like to use a number other than 10, look for this spot:
posts_per_page=10
and change the 10 to the number of posts you’d like to display there.
If you have any questions or trouble, just let me know,
Bill Robbins
- The topic ‘Number of recent posts on the homepage’ is closed to new replies.