two ways –
1) Use sticky posts. These always show above all other posts.
2) Create a category for the posts that you want to display and add the posts to this category. On the home page run a query before the loop to pick up only these posts. Something like the example below should work.
wp_query(array('category' => 15, 'post_status' => 'publish'))
and then add wp_reset_query() after the loop
cheers… where about would i added the code?? cant seems to figger WP structure yet…
is the stickyposts a plugin?
Sticky posts is part of WP and should be available through the Post editor.
You would need to add the code in your source for your homepage, somewhere near the top (before if(have_posts)).
cant see any where that the sticky post or sticky is an option in the post editor or creator ??? hum
tired the code and it removed all my post from homepage alltogether..
also still cant see the sticky option on posts page on 3.0.1
I have set number of posts shown on home page as 10 from wp-admin, but in the home template I am using three different querypost() to show posts on the bases of different conditions as from different categories based on custom fields values.Now the problem is that is I use showpost=15 then after all querypost() show 10 posts or less but not more then 10 posts.
Can anyone help!!!!!!!!!!!!!!!!!!!111