最新記事を表示するときに、最新の何件かをサムネイルと概要を表示し、残りの件数をタイトルのみで表示するようにしました。
例えば、最初の2件を表示するタグは次のとおりです。
<?php query_posts('posts_per_page=2 &ignore_sticky_posts=1'); ?>
3件~10件をタイトルのみで表示するようにループです。
<?php query_posts('posts_per_page=8&offset=2 &ignore_sticky_posts=1'); ?> <?php if(have_posts()): while(have_posts()): the_post(); ?> <?php get_template_part('content','title'); ?> <?php endwhile; endif; ?>
概要の文字数を74文字に変更しました。「続きを読む」を入れて3行ぐらいに収まるように。
function.php の中を次のように変えました。
function my_excerpt_mblength($length) { return 80; } add_filter('excerpt_mblength', 'my_excerpt_mblength');