アーカイブ等を全文表示に変更

アーカイブやカテゴリーを表示させた場合に、ブログのサマリーのみ表示していたのを全文を表示するように変更しました。

アーカイブ(archive.php)、カテゴリーテンプレート(category.php)、タグテンプレート(tag.php)、作者テンプレート(author.php)のそれぞれについて、

<div class=”entry-summary”>
<?php the_post_thumbnail(array(120,120), array(‘class’ => ‘alignright’)); ?>
<?php the_excerpt( __( ‘Continue reading <span class=”meta-nav”>»</span>’, $themeName ) ); ?>
</div><!– .entry-summary –>

という箇所を

<div class=”entry-content”>
<?php the_post_thumbnail(array(120,120), array(‘class’ => ‘alignright’)); ?>
<?php the_content( __( ‘Continue reading <span class=”meta-nav”>»</span>’, $themeName ) ); ?>
<?php wp_link_pages(‘before=<div class=”page-link”>’ . __( ‘Pages:’, $themeName ) . ‘&after=</div>’) ?>
</div><!– .entry-content –>

に変更しました。

あぁ、、、またこんなにあっちこっちテンプレートをいじってしまった。。。

アーカイブ等を全文表示に変更” への1件のコメント

コメントを残す