Limit the post being pulled onto the homepage

My wordpress site homepage currently pulls the introduction and image from the most recent 9 posts onto the homepage. I would like for it to pull the first 9 posts, and then remain static. I need to update my blog without updating the homepage. Can someone help me? Here is the code:

[php]<?php if(have_posts()): ?><?php while(have_posts()): ?><?php the_post(); ?>
<div <?php post_class(); ?> id=“post-<?php the_ID(); ?>”>
[/php]

I dont know if this will help you, but there is a plug-in available for wordpress that enables you to select the exact order your posts will be displayed on the homepage.

Search for PostMash Custom - custom post order in the wordpress plugin area.

If this works, great, if not someone wiser than me should be along soon with an answer to your code above.

Jon

That plugin is definitely helpful, but not exactly what I am looking for. One would think there should be a simple line of code which can limit the number of posts displayed on the first page. I should be able to filter it by id at least.

Sponsor our Newsletter | Privacy Policy | Terms of Service