mk-webwork codenote

ループはここから始まり、

<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

ここで終わる。

<?php endwhile; else : ?>
	<p><?php _e( 'Sorry, no posts matched your criteria.' ); ?></p>
<?php endif; ?>

参考:https://wpdocs.osdn.jp/ループ

← もどる