ループの書き方のメモ
<?php if ( have_posts() ) : ?> <?php while ( have_posts() ) : the_post(); ?> <!-- なにかの処理 ... --> <?php endwhile; ?> <?php endif; ?>
Just a note. For I don't forget what I did.
ループの書き方のメモ
<?php if ( have_posts() ) : ?> <?php while ( have_posts() ) : the_post(); ?> <!-- なにかの処理 ... --> <?php endwhile; ?> <?php endif; ?>