index.php、archive.php
<?php if(is_archive() | is_paged()):?>
2ページ目以降の処理
<?php else:?>
1ページ目の処理
<?php endif;?>
category.php
<?php if(is_paged()):?>
2ページ目以降の処理
<?php else:?>
1ページ目の処理
<?php endif;?>
<?php if(is_archive() | is_paged()):?>
2ページ目以降の処理
<?php else:?>
1ページ目の処理
<?php endif;?>
<?php if(is_paged()):?>
2ページ目以降の処理
<?php else:?>
1ページ目の処理
<?php endif;?>
コメント