I want to display only the 4 most recent posts.
I have accomplished this on a custom template page within my site by setting query_posts('cat=5&posts_per_page=5'); I can change the posts_per_page to any number and the loop outputs the correct number of posts.
but in my index page, when I set query_posts('posts_per_page=4'); I get 5 posts. I've tried other limits with odd results: 1=4, 2=4, 3=5, 4=5, 5=6, 14=15. I suppose I could use a counter variable inside my php loop to force the exact number of posts that I want to see but I wanted to report this as a bug for WP staff to fix. I'm using the newest 2.9.2. I think the strangest part is that the limit works correctly on one page but not on index.
does anyone else or any other versions have this same problem?