基本は[設定]の最大投稿数だが
カテゴリとか検索結果で表示件数を変えたい
記事のこれの前に入れるだけ
<?php if(have_posts()):while(have_posts()):the_post(); ?>
<?php if (is_category()){ $posts = query_posts($query_string . '&showposts=10'); } ?> <?php if(have_posts()):while(have_posts()):the_post(); ?> ・ ・
こんな感じ
カテゴリ
<?php if (is_category()){ $posts = query_posts($query_string . '&showposts=10'); } ?>
月別
<?php if (is_month()){ $posts = query_posts($query_string . '&showposts=15'); } ?>
年別
<?php if (is_year()){ $posts = query_posts($query_string . '&showposts=20'); } ?>
検索結果
<?php if (is_search()){ $posts = query_posts($query_string . '&showposts=25'); } ?>