カテゴリー.phpをコピーし調整する
<ul> <?php if(have_posts()):while(have_posts()):the_post();?> <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>:<?php echo get_the_date(); ?> 公開</li> <?php endwhile;endif;?> </ul>
2行目は表示件数
<ul> <?php query_posts($query_string.'&posts_per_page=100'); ?> <?php if (have_posts() && get_search_query()) :while(have_posts()):the_post();?> <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>:<?php echo get_the_date(); ?> 公開</li> <?php endwhile;endif;?> </ul>
結果件数を表示する
<p class="title">「<?php the_search_query(); ?>」の検索結果 <?php echo $wp_query->found_posts; ?>件</p>