WordPress allows you to set a number of posts per page, yup, we all know this.
Ok on the home page i want to alter this so it only shows 3 instead of the 10 i have. i understand you can use "query posts" but i dont understand how.
WordPress allows you to set a number of posts per page, yup, we all know this.
Ok on the home page i want to alter this so it only shows 3 instead of the 10 i have. i understand you can use "query posts" but i dont understand how.
..well i understand i can alter the php but im not sure on the code to use...!
ok found the answer, for any one else that neeeds to know put this before the loop:
<?php query_posts('showposts=2'); ?>
This topic has been closed to new replies.