controlling the number of posts on a wordpress archive page

bobbob

New Member
I have set my wordpress blog's frontpage to show only three posts.On the archive.php template, when the posts of a tag are viewed, I want to show 10 results.How do I do this?I tried this php code. But instead of only showing the posts with a certain tag, it queries all recent posts.\[code\]//in archive.php (before the loop)query_posts('posts_per_page=10');\[/code\]
 
Back
Top