Change Number of Posts Displayed in WordPress

April 3, 2006 2:53 am

I wanted to change the way the main page displayed posts in WordPress.

I found a good post that explains the simple changes to make: http://justinblanton.com/2005/02/limit-number-of-posts-with-wordpress

Further to that note, the index.php page that you need to modify for the main page is in the wp-content/themes/themename directory. The default theme directory is, not surprisingly, default. :) If you are new to WordPress that may save some time searching for the right file.

One Response to “Change Number of Posts Displayed in WordPress”

kiran wrote a comment on April 29, 2009

Hi,

I wanted the number of comments displayed with the posts to be the number of approved comments. Presently it shows the total of approved comments and with the comments to be moderated.

Since when the user clicks on the comments link on home page and goes to the page displaying comments he feels gets wrong impression.

Care to comment?